/* =========================================================
   MAGA FLIESEN — Design System
   Architektonisch · editorial · premium
   Palette aus Logo: Marineblau + warmer Stein + Creme
   ========================================================= */

:root {
  /* Farben */
  --navy:        #283845;
  --navy-deep:   #1c2932;
  --navy-soft:   #34475620;
  --stone:       #9a8f7d;
  --stone-warm:  #b8ad9a;
  --stone-light: #d9d3c7;
  --cream:       #f6f3ee;
  --cream-deep:  #ece6db;
  --paper:       #fbfaf7;
  --ink:         #1d262d;
  --ink-soft:    #56616a;
  --white:       #ffffff;
  --line:        #e3ddd2;

  /* Typo */
  --display: "Fraunces", "Times New Roman", serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Maße */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 10px rgba(28, 41, 50, 0.06);
  --shadow:    0 18px 50px -22px rgba(28, 41, 50, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(28, 41, 50, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--navy); color: var(--cream); }

/* ---------- Typo Scale ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; color: var(--navy); letter-spacing: -0.015em; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--stone-warm);
  display: inline-block;
}

.display-xl { font-size: clamp(2.7rem, 7vw, 5.4rem); }
.display-lg { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.display-md { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); max-width: 56ch; }

em.accent { font-style: normal; color: var(--stone); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 9vw, 8rem); }

.grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg { transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-ghost { color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); transform: translateY(-2px); }

.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.35s var(--ease), gap 0.35s var(--ease);
}
.link-arrow:hover { border-color: var(--stone-warm); gap: 0.8rem; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.topbar {
  background: var(--navy);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.55rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; opacity: 0.92; transition: opacity 0.3s; }
.topbar a:hover { opacity: 1; color: var(--stone-warm); }
.topbar .topbar-meta { display: flex; gap: 1.6rem; }
.topbar svg { width: 14px; height: 14px; opacity: 0.7; }
@media (max-width: 640px) { .topbar .topbar-meta span.hide-sm { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
/* Bei offenem Mobilmenü: Header transparent, X über dem Overlay klickbar */
body.menu-open .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}
body.menu-open .brand { opacity: 0; pointer-events: none; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(28,41,50,0.4); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.7rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; z-index: 120; }
.brand img, .brand-mark { height: 44px; width: auto; transition: transform 0.5s var(--ease); }
.brand:hover img, .brand:hover .brand-mark { transform: scale(1.04); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--body); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.2em; color: var(--navy); }
.brand-word small { font-family: var(--body); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.42em; color: var(--stone); margin-top: 3px; }
@media (max-width: 380px) { .brand-word small { letter-spacing: 0.3em; } }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-block: 0.4rem;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--stone-warm);
  transition: width 0.4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 1.4rem; }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--radius);
  position: relative;
  z-index: 120;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), background 0.3s;
}
body.menu-open .burger span { background: var(--cream); }
body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path 0.7s var(--ease-out);
  pointer-events: none;
}
body.menu-open .mobile-nav { clip-path: circle(150% at calc(100% - 46px) 46px); pointer-events: auto; }

.mobile-nav .tile-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.3rem; position: relative; }
.mobile-nav li { overflow: hidden; }
.mobile-nav a {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.35rem;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out), color 0.3s;
}
.mobile-nav a .idx { font-family: var(--body); font-size: 0.85rem; font-weight: 700; color: var(--stone-warm); letter-spacing: 0.1em; }
body.menu-open .mobile-nav a { transform: translateY(0); }
body.menu-open .mobile-nav li:nth-child(1) a { transition-delay: 0.15s; }
body.menu-open .mobile-nav li:nth-child(2) a { transition-delay: 0.22s; }
body.menu-open .mobile-nav li:nth-child(3) a { transition-delay: 0.29s; }
body.menu-open .mobile-nav li:nth-child(4) a { transition-delay: 0.36s; }
body.menu-open .mobile-nav li:nth-child(5) a { transition-delay: 0.43s; }
.mobile-nav a:hover { color: var(--stone-warm); }

.mobile-nav .mobile-foot {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease) 0.5s, transform 0.5s var(--ease) 0.5s;
  position: relative;
}
body.menu-open .mobile-nav .mobile-foot { opacity: 0.9; transform: translateY(0); }
.mobile-nav .mobile-foot a { font-size: 0.98rem; color: var(--stone-warm); }

@media (max-width: 940px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 20% 10%, black, transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero-copy h1 { margin: 1.4rem 0 1.5rem; }
.hero-copy .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: var(--display); font-size: 2.4rem; color: var(--navy); line-height: 1; }
.hero-stats .stat .lbl { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; letter-spacing: 0.02em; }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.9rem;
  max-width: 80%;
}
.hero-visual .badge .ico { width: 44px; height: 44px; flex: none; background: var(--navy); border-radius: 50%; display: grid; place-items: center; color: var(--cream); }
.hero-visual .badge .ico svg { width: 22px; height: 22px; }
.hero-visual .badge b { font-family: var(--display); font-size: 1.05rem; color: var(--navy); display: block; }
.hero-visual .badge span { font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 520px){ .hero-visual .badge{ position: static; max-width:100%; margin-top:1.4rem; bottom:auto; left:auto;} }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-block: 1.3rem; }
.trust .trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.trust .trust-item svg { width: 19px; height: 19px; color: var(--stone); flex: none; }

/* =========================================================
   SECTION HEADER
   ========================================================= */
.sec-head { max-width: 64ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 1.1rem 0 1rem; }
.sec-head .lead { margin-inline: auto; }

/* =========================================================
   LEISTUNGEN / SERVICE CARDS
   ========================================================= */
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--stone-warm);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .num { font-family: var(--display); font-size: 0.95rem; color: var(--stone); letter-spacing: 0.05em; }
.service-card .ico {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--navy);
  margin: 0.5rem 0 1.3rem;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.service-card:hover .ico { background: var(--navy); color: var(--cream); }
.service-card .ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.3rem; }

/* split feature */
.feature-split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px){ .feature-split { grid-template-columns: 1fr 1fr; } .feature-split.reverse .feature-media { order: 2; } }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-media:hover img { transform: scale(1.06); }
.feature-list { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.feature-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1rem; }
.feature-list li svg { width: 22px; height: 22px; color: var(--stone); flex: none; margin-top: 2px; }

/* =========================================================
   PROCESS / STEPS
   ========================================================= */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width:760px){ .steps{ grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding-top: 2.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--stone-light);
  line-height: 1;
  position: absolute; top: -0.4rem; left: 0;
}
.step .line { height: 1px; background: var(--line); margin-bottom: 1.2rem; position: relative; }
.step .line::after { content:""; position:absolute; left:0; top:-3px; width:7px; height:7px; border-radius:50%; background: var(--stone-warm); }
.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; color: var(--ink-soft); }

/* =========================================================
   BANDS
   ========================================================= */
.band-navy { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.band-navy h2, .band-navy h3 { color: var(--cream); }
.band-navy .lead { color: rgba(246,243,238,0.78); }
.band-navy::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 80% 50%, black, transparent 70%);
}
.band-navy .container { position: relative; z-index: 1; }

.cta-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px){ .cta-band{ grid-template-columns: 1.4fr 1fr; } .cta-band .cta-actions{ justify-self: end; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* stats band */
.stat-band { display: grid; gap: 2rem; text-align: center; }
@media (min-width:680px){ .stat-band{ grid-template-columns: repeat(4,1fr);} }
.stat-band .s .num { font-family: var(--display); font-size: clamp(2.4rem,5vw,3.4rem); color: var(--cream); line-height:1; }
.stat-band .s .num span { color: var(--stone-warm); }
.stat-band .s .lbl { margin-top: 0.6rem; font-size: 0.9rem; color: rgba(246,243,238,0.7); letter-spacing: 0.03em; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 760px){ .gallery{ grid-template-columns: repeat(3,1fr); grid-auto-rows: 240px; } }
.gallery .tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.gallery .tile img { width:100%; height:100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery .tile:hover img { transform: scale(1.08); }
.gallery .tile .cap {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,41,50,0.78) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 1.2rem;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.gallery .tile:hover .cap { opacity: 1; }
.gallery .tile .cap b { color: var(--cream); font-family: var(--display); font-size: 1.15rem; }
.gallery .tile .cap span { color: var(--stone-warm); font-size: 0.82rem; display:block; }
@media (min-width: 760px){
  .gallery .tile.tall { grid-row: span 2; }
  .gallery .tile.wide { grid-column: span 2; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote-card .stars { display: flex; gap: 3px; color: var(--stone-warm); margin-bottom: 1rem; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-family: var(--display); font-size: 1.2rem; line-height: 1.5; color: var(--navy); margin-bottom: 1.4rem; }
.quote-card .who { display: flex; align-items: center; gap: 0.8rem; }
.quote-card .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-family: var(--display); }
.quote-card .who b { display: block; font-size: 0.98rem; color: var(--navy); }
.quote-card .who span { font-size: 0.82rem; color: var(--ink-soft); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: 0.8rem; max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.faq details[open] { border-color: var(--stone-warm); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 1.5rem;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content:""; position:absolute; background: var(--stone); border-radius: 2px; transition: transform 0.4s var(--ease); }
.faq summary .pm::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq summary .pm::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details p { padding: 0 1.5rem 1.45rem; color: var(--ink-soft); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; gap: clamp(2rem,5vw,3.5rem); }
@media (min-width: 920px){ .contact-grid{ grid-template-columns: 0.9fr 1.1fr; } }

.contact-info .info-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:first-of-type { padding-top: 0; }
.contact-info .info-item .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--cream); color: var(--navy); display: grid; place-items: center; }
.contact-info .info-item .ico svg { width: 22px; height: 22px; }
.contact-info .info-item b { font-family: var(--display); font-size: 1.1rem; color: var(--navy); display:block; margin-bottom: 0.1rem; }
.contact-info .info-item a, .contact-info .info-item p { color: var(--ink-soft); font-size: 0.98rem; }
.contact-info .info-item a:hover { color: var(--navy); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit; font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px){ .field-row{ grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.4rem; }
.consent { display:flex; gap:0.6rem; align-items:flex-start; font-size:0.85rem; color:var(--ink-soft); }
.consent input { width:auto; margin-top:3px; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; padding-block: clamp(3rem,6vw,5rem); }
.page-hero::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.55;
  mask-image: radial-gradient(circle at 85% 20%, black, transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.1rem; display:flex; gap:0.5rem; align-items:center; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--stone-light); }
.page-hero h1 { margin-bottom: 1rem; }

/* =========================================================
   VALUES / ABOUT
   ========================================================= */
.value-card { padding: 1.8rem; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--cream); display:grid; place-items:center; margin-bottom: 1.1rem; }
.value-card .ico svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--ink-soft); font-size: 0.96rem; }

.about-portrait { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about-portrait img { width:100%; height:100%; object-fit: cover; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(246,243,238,0.72); padding-top: clamp(3.5rem,7vw,5.5rem); position: relative; overflow: hidden; }
.site-footer::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 15% 0%, black, transparent 65%);
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 820px){ .footer-grid{ grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-lockup { display: inline-flex; align-items: center; gap: 0.65rem; margin-bottom: 1.2rem; }
.footer-lockup img { height: 46px; width: auto; background: var(--cream); padding: 6px; border-radius: 8px; }
.footer-lockup .brand-word b { color: var(--cream); }
.footer-lockup .brand-word small { color: var(--stone-warm); }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { color: var(--cream); font-family: var(--body); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.95rem; transition: color 0.3s, padding 0.3s; }
.footer-col a:hover { color: var(--stone-warm); padding-left: 4px; }
.footer-contact li { display:flex; gap:0.7rem; align-items:flex-start; margin-bottom: 0.9rem; font-size: 0.95rem; }
.footer-contact svg { width:18px; height:18px; color: var(--stone); flex:none; margin-top:3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-bottom .legal { display:flex; gap:1.4rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--stone-warm); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* hero load anim */
.hero [data-load] { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease-out) forwards; }
.hero [data-load="1"]{ animation-delay: 0.05s; }
.hero [data-load="2"]{ animation-delay: 0.15s; }
.hero [data-load="3"]{ animation-delay: 0.25s; }
.hero [data-load="4"]{ animation-delay: 0.35s; }
.hero [data-load="5"]{ animation-delay: 0.45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal]{ opacity:1; transform:none; }
}

/* utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.tag { display:inline-block; font-size:0.72rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--stone); background:var(--cream-deep); padding:0.3rem 0.7rem; border-radius:100px; }
