/* ============================================================
   Bäcker Küchentechnik – Stylesheet
   Mobile-first · Dunkelblau / Grau
   ============================================================ */

:root {
  --navy:        #0f2a4a;
  --navy-deep:   #0a1f38;
  --navy-light:  #1c4071;
  --blue:        #2563a8;
  --blue-bright: #3b82d6;
  --gray:        #5b6573;
  --gray-light:  #eef1f5;
  --gray-mid:    #d6dbe2;
  --ink:         #16202e;
  --white:       #ffffff;
  --radius:      14px;
  --radius-sm:   10px;
  --shadow:      0 10px 30px rgba(15, 42, 74, 0.10);
  --shadow-lg:   0 24px 60px rgba(15, 42, 74, 0.18);
  --maxw:        1180px;
  --font:        'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head:   'Plus Jakarta Sans', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-family: var(--font-head); font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue-bright); color: #fff; box-shadow: 0 8px 22px rgba(59,130,214,.4); }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700;
  color: var(--blue-bright); margin-bottom: 14px;
}
.eyebrow-dark { color: var(--blue); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-mid);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 52px; width: auto; }

.main-nav { display: none; }
.header-phone {
  display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--navy);
  font-family: var(--font-head);
}
.header-phone svg { color: var(--blue-bright); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: var(--navy); border: none; border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-nav offen */
.main-nav.open {
  display: flex; flex-direction: column;
  position: absolute; top: 70px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--gray-mid);
  padding: 12px 20px 20px; gap: 4px; box-shadow: var(--shadow);
}
.main-nav.open a { padding: 14px 8px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--gray-light); font-size: 1.05rem; }
.main-nav.open a:hover { text-decoration: none; color: var(--blue-bright); }
.main-nav.open .nav-cta { background: var(--blue-bright); color: #fff; border-radius: 10px; text-align: center; border: none; margin-top: 8px; }

/* ============================================================
   HERO (Overlay: Text & CTAs über dem Team-Foto)
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  margin: 14px; border-radius: 26px;
  min-height: 560px; display: flex; align-items: center;
  background: var(--navy-deep);
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  /* Mobile: dunkel oben (Text), Foto unten heller sichtbar */
  background: linear-gradient(to bottom, rgba(10,31,56,.85) 0%, rgba(10,31,56,.66) 34%, rgba(10,31,56,.4) 60%, rgba(10,31,56,.12) 100%);
}
.hero-content { width: 100%; }
.hero-text-inner {
  width: 100%; max-width: 660px; margin: 0 auto;
  padding: 56px 24px 52px;
}
.hero .eyebrow { color: #9cc4f5; }
.hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 22px 26px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 24px; }
.hero-trust li { font-size: .95rem; color: rgba(255,255,255,.85); }
.hero-trust strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
/* "Berkel Fachhändler Mittelhessen" nur auf Desktop zeigen */
.hero-trust li:nth-child(3) { display: none; }

/* ============================================================
   USP BAR
   ============================================================ */
.logo-marquee { background: var(--gray-light); padding: 30px 0; overflow: hidden; }
.marquee-label {
  text-align: center; color: var(--gray); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; width: max-content; align-items: center;
  animation: marquee-ltr 34s linear infinite; will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto; margin-right: 22px;
  width: 168px; height: 78px;
  background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius-sm);
  display: grid; place-items: center; padding: 14px 22px;
}
.marquee-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Bewegung von links nach rechts, nahtlose Endlosschleife (Track = 2 identische Sets) */
@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 64px 0; }
.section-muted { background: var(--gray-light); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-lead { color: var(--gray); font-size: 1.08rem; margin-top: 14px; }
.section-lead.light { color: rgba(255,255,255,.85); }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-bright); }
.card-icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.6rem; background: var(--gray-light); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray); font-size: .96rem; }

/* ============================================================
   SPLIT (Bild + Text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr; }
.split-media { padding: 16px; }
.split-media img {
  width: 100%; height: 100%; min-height: 260px; object-fit: cover;
  border-radius: 22px; box-shadow: var(--shadow);
}
/* Fahrzeug-Beschriftung im Fokus halten */
#spuelmobil .split-media img { object-position: center center; }
#miethaenger .split-media img { object-position: 74% center; }
.split-text { padding: 48px 20px; max-width: 600px; margin: 0 auto; }
.split-text h2 { margin-bottom: 16px; }
.split-text p { color: var(--gray); margin-bottom: 16px; }
.split-text .btn { margin-top: 8px; }

.check-list { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; background: var(--blue-bright); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}

/* ============================================================
   MARKEN
   ============================================================ */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 16px; }
.brand-logo-box {
  background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius-sm);
  display: grid; place-items: center; padding: 26px 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy);
  letter-spacing: .02em; transition: .2s; min-height: 86px;
}
.brand-logo-box:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.brand-note { text-align: center; color: var(--gray); font-size: .82rem; margin-top: 6px; }

.badge {
  display: inline-block; background: #e3edf9; color: var(--blue);
  font-weight: 700; font-size: .78rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .06em;
}

/* Hervorgehobene Marken (GRAEF, COLGED) */
.featured-brands { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
.featured-card {
  background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.featured-card h3 { font-size: 1.9rem; margin-bottom: 12px; letter-spacing: .01em; }
.featured-card p { color: var(--gray); margin-bottom: 20px; }
.featured-card .btn { margin-top: auto; align-self: flex-start; }
/* Marken-Logo in der Karte */
.featured-logo { margin: 4px 0 18px; line-height: 0; height: 52px; }
.featured-logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* Hersteller-Logo-Slider: Items sind Links */
.brand-marquee { margin-bottom: 14px; }
.brand-marquee .marquee-item { text-decoration: none; }
.brand-marquee .marquee-item:hover { border-color: var(--blue-bright); }

/* Bizerba-Textbox */
.brand-note-box {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 32px;
}
.brand-note-box h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.brand-note-box p { color: rgba(255,255,255,.85); margin: 0; }

.brand-grid-label { text-align: center; color: var(--gray); font-weight: 600; margin-bottom: 16px; }

/* ============================================================
   BRANCHEN
   ============================================================ */
.industry-grid {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin: 0 auto;
}
.industry-grid li {
  background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius-sm);
  padding: 18px 16px; font-weight: 600; color: var(--navy); text-align: center; font-size: .95rem;
}

/* ============================================================
   REFERENZEN / GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: 1fr; gap: 14px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(10,31,56,.85));
}
.client-label { text-align: center; color: var(--gray); margin: 36px 0 18px; font-weight: 600; }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; align-items: center; }
.client-logos img {
  height: 64px; width: 128px; background: #fff; border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm); padding: 10px 18px; object-fit: contain;
}

/* ============================================================
   TESTIMONIAL / ZERTIFIKATE
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.cert-logo {
  border: 1px solid var(--gray-mid); border-radius: var(--radius-sm);
  display: grid; place-items: center; background: #fff; padding: 18px 14px; min-height: 110px;
}
.cert-logo img { max-width: 100%; max-height: 74px; width: auto; height: auto; object-fit: contain; }
/* IHK hat viel Innenrand -> größer skalieren */
.cert-logo img.cert-lg { max-height: 112px; transform: scale(1.08); }
/* Text-Cert-Karte (BGHM, bis Logo vorliegt) */
.cert-text { text-decoration: none; text-align: center; gap: 4px; }
.cert-text:hover { border-color: var(--blue-bright); text-decoration: none; }
.cert-text strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); letter-spacing: .04em; }
.cert-text span { font-size: .72rem; color: var(--gray); line-height: 1.3; }
.quote {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow-lg);
}
.quote p { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.45; margin-bottom: 16px; font-weight: 700; }
.quote cite { color: #9cc4f5; font-style: normal; font-weight: 600; }

/* ============================================================
   KONTAKT
   ============================================================ */
.section-dark { background: var(--navy-deep); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #9cc4f5; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.contact-info ul { list-style: none; display: grid; gap: 22px; }
.contact-info li { display: flex; gap: 14px; }
.ci-icon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; font-size: 1.25rem;
}
.contact-info strong { display: block; color: #fff; font-family: var(--font-head); margin-bottom: 2px; }
.contact-info p { color: rgba(255,255,255,.8); font-size: .95rem; }
.contact-info a { color: #9cc4f5; }
.contact-info em { font-style: normal; font-size: .85rem; color: rgba(255,255,255,.6); }

.contact-form { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow-lg); }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-row label { font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .9rem; }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font); font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--gray-mid); border-radius: var(--radius-sm); color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(59,130,214,.15);
}
.form-row textarea { resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--gray); margin: 6px 0 20px; }
.checkbox input { margin-top: 4px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--blue-bright); }
.form-hint { font-size: .8rem; color: var(--gray); margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; }
.form-status.success { color: #15803d; }
.form-status.error { color: #b91c1c; }

/* ============================================================
   MAP
   ============================================================ */
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 320px; border: 0; filter: grayscale(.2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue-bright); font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--gray); padding: 0 0 18px; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: #fff; }
.footer-brand .muted { color: #9cc4f5; font-style: italic; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 20px; font-size: .85rem; }

/* ============================================================
   FLOATING CTA (Mobile)
   ============================================================ */
.floating-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  background: var(--blue-bright); color: #fff; font-weight: 700; font-family: var(--font-head);
  padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.floating-cta:hover { text-decoration: none; background: var(--blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .main-nav { display: flex; align-items: center; gap: 28px; }
  .main-nav a { color: var(--navy); font-weight: 600; font-size: .98rem; }
  .main-nav a:hover { text-decoration: none; color: var(--blue-bright); }
  .main-nav .nav-cta { background: var(--blue-bright); color: #fff; padding: 10px 22px; border-radius: 999px; }
  .main-nav .nav-cta:hover { background: var(--blue); color: #fff; }
  .header-phone { display: flex; }
  .nav-toggle { display: none; }
  .floating-cta { display: none; }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 88px 0; }

  /* Hero: Foto voll, Text links darüber; Faces rechts frei dank horizontalem Verlauf */
  .hero { margin: 20px; border-radius: 30px; min-height: 640px; }
  .hero-overlay {
    background: linear-gradient(100deg, rgba(10,31,56,.94) 0%, rgba(10,31,56,.88) 30%, rgba(12,36,64,.55) 44%, rgba(15,42,74,.12) 62%, transparent 76%);
  }
  .hero-img { object-position: right center; }
  .hero-trust li:nth-child(3) { display: block; }
  .hero-content { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
  .hero-text-inner {
    margin: 0; max-width: 600px;
    padding: 88px 20px 80px;
  }

  .split { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .split-media { padding: 28px; }
  .split-media img { aspect-ratio: auto; min-height: 460px; }
  .split-text { padding: 72px 56px; }
  .split-reverse .split-media { order: 2; }
  .split-reverse .split-text { order: 1; }

  .featured-brands { grid-template-columns: 1fr 1fr; gap: 24px; }

  .gallery { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }

  .two-col { grid-template-columns: 1.2fr 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 48px; }
  .contact-form { padding: 38px 34px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ============================================================
   MODAL (Bestaetigung Kontaktformular)
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 31, 56, .6);
  backdrop-filter: blur(3px);
  animation: modal-fade .2s ease;
}

.modal-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 40px 30px 30px; text-align: center;
  animation: modal-in .22s ease;
}

.modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 38px; height: 38px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; line-height: 1;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--gray); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--gray-light); color: var(--ink); }

.modal-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin-bottom: 18px;
  border-radius: 50%;
  background: #dcfce7; color: #15803d;
}

.modal-title {
  font-family: var(--font-head); font-size: 1.5rem;
  color: var(--navy); margin-bottom: 10px;
}
.modal-text {
  color: var(--gray); font-size: 1rem; line-height: 1.6;
  margin-bottom: 26px;
}

@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
