/* ==========================================================================
   Nagelstudio Koblenz – Kim's Nailsdesign
   Statisches Redesign · gemeinsames Stylesheet
   Typo: Cormorant Garamond (Display) + Jost (Body/UI)
   ========================================================================== */

:root {
  /* Palette – warmes Ivory, Aubergine-Tinte, Beeren-Rosé, dezentes Gold */
  --ivory:      #FBF7F4;
  --cream:      #F3EAE4;
  --cream-2:    #EFE3DB;
  --surface:    #FFFFFF;
  --ink:        #2C2126;
  --ink-soft:   #6C5A61;
  --ink-faint:  #6C5A61;
  --rose:       #A8324E;
  --rose-deep:  #8C2740;
  --rose-soft:  #EBCBD1;
  --rose-tint:  #F7E7EA;
  --gold:       #B0894F;
  --line:       #E8DBD3;
  --line-soft:  #F0E6DF;
  --shadow-sm:  0 1px 2px rgba(44,33,38,.05), 0 4px 14px rgba(44,33,38,.05);
  --shadow-md:  0 6px 30px rgba(44,33,38,.10);
  --shadow-lg:  0 20px 60px rgba(44,33,38,.14);

  --f-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --f-body:    'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rose-deep); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(56px, 8vw, 104px); }
.section-tint { background: var(--cream); }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: .002em; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 82px); }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); line-height: 1.6; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 15px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .8; }
.eyebrow.center-line { justify-content: center; }
.eyebrow.center-line::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .8; }

.section-head { max-width: 640px; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--ink-soft); margin-top: 16px; }

/* accented italic inside display headings */
h1 em, h2 em, h3 em { font-style: italic; color: var(--rose); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 500; font-size: 16px;
  letter-spacing: .04em;
  padding: 15px 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 8px 22px rgba(168,50,78,.28); }
.btn-primary:hover { background: var(--rose-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(168,50,78,.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--rose); transform: translateY(-2px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,244,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { display: block; width: auto; height: 54px; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.brand .brand-sub { font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-size: 16px; font-weight: 400; letter-spacing: .02em;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--rose); transition: width .25s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--rose); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.mobile-cta { display: none; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: var(--ink);
}
.nav-toggle svg { width: 100%; height: 100%; }

@media (max-width: 1020px) {
  .nav-actions .btn { display: none; }
  .nav { gap: 12px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    box-shadow: var(--shadow-md);
    visibility: hidden; pointer-events: none; transform: translateY(-120%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .nav-links.open { visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 16px 0; font-size: 18px; }
  .nav-links .mobile-cta { display: block; margin-top: 18px; border: none; }
  .nav-links .mobile-cta .btn { display: inline-flex; width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { max-width: 46ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 16px; color: var(--ink-soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--rose); flex-shrink: 0; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--surface); border-radius: 999px; padding: 16px 24px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
.hero-media .badge .num { font-family: var(--f-display); font-size: 34px; font-weight: 600; color: var(--rose); line-height: 1; }
.hero-media .badge .txt { font-size: 15px; color: var(--ink-soft); line-height: 1.3; letter-spacing: .02em; }
.hero-deco {
  position: absolute; z-index: -1; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose-tint), transparent 68%);
  top: -80px; right: -90px;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 440px; margin-inline: auto; }
  .hero-media .badge { left: 8px; }
}

/* ==========================================================================
   USP / Vorzüge
   ========================================================================== */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.usp {
  text-align: center; padding: 8px 6px;
}
.usp .ic {
  width: 62px; height: 62px; margin: 0 auto 20px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--rose-tint); color: var(--rose);
}
.usp .ic svg { width: 28px; height: 28px; }
.usp h3 { font-size: 22px; margin-bottom: 8px; }
.usp p { font-size: 17px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 720px) { .usp-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
@media (max-width: 420px) { .usp-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   About / Über Chau
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-portrait { position: relative; }
.about-portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.about-portrait .sig {
  position: absolute; bottom: 20px; right: -14px; background: var(--rose);
  color: #fff; font-family: var(--f-display); font-size: 22px; font-style: italic;
  padding: 10px 22px; border-radius: 999px; box-shadow: var(--shadow-md);
}
.about-copy blockquote {
  margin: 28px 0 0; padding: 22px 26px; background: var(--surface);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--f-body); font-size: 20px; font-weight: 400; font-style: normal; line-height: 1.75; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 380px; }
}

/* ==========================================================================
   Leistungen preview
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc .ic { color: var(--rose); margin-bottom: 16px; }
.svc .ic svg { width: 30px; height: 30px; }
.svc h3 { font-size: 24px; margin-bottom: 8px; }
.svc p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; }
.svc .from { font-family: var(--f-body); font-size: 15px; letter-spacing: .04em; color: var(--ink-faint); text-transform: uppercase; }
.svc .from b { font-family: var(--f-display); font-size: 22px; color: var(--rose); font-weight: 600; letter-spacing: 0; }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Galerie
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gallery .image-link { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .g-tall { grid-row: span 2; }
.gallery .span-2 { grid-column: span 2; }
.gallery .g-a { grid-column: span 2; grid-row: span 2; }
.gallery .g-b { grid-column: span 2; }
.gallery .g-c { grid-column: span 2; }
.gallery .g-d { grid-column: span 2; }
.gallery .g-e { grid-column: span 2; }
.gallery .g-f { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-a, .gallery .g-b, .gallery .g-c, .gallery .g-d, .gallery .g-e, .gallery .g-f { grid-column: span 1; grid-row: span 1; }
  /* Ungerade Bildanzahl: letztes Bild füllt beide Spalten, damit unten keine Lücke entsteht.
     Bei gerader Anzahl greift die Regel nicht -> saubere Paare bleiben erhalten. */
  .gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.quote {
  margin: 0;
  background: var(--surface); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
}
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 16px; }
.quote p { font-family: var(--f-body); font-size: 18px; font-style: normal; color: var(--ink); line-height: 1.65; }
.quote .who { margin-top: auto; padding-top: 18px; font-family: var(--f-body); font-weight: 500; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ==========================================================================
   Termin / CTA band
   ========================================================================== */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(168,50,78,.4), transparent 70%); top: -160px; left: -120px; pointer-events: none; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(176,137,79,.28), transparent 70%); bottom: -160px; right: -100px; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 52ch; margin-inline: auto; margin-bottom: 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--cream-2); color: var(--ink); padding-block: clamp(48px, 6vw, 72px) 28px; margin-top: clamp(20px,4vw,40px); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1.35fr 1.1fr; gap: 24px; }
.footer-grid h4 { font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.footer-brand .brand-name { font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.footer-brand p { font-size: 16px; color: var(--ink-soft); margin-top: 10px; max-width: 34ch; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer-list a { color: var(--ink); }
.footer-list a:hover { color: var(--rose); }
.footer-list .row { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.footer-list .row svg { width: 17px; height: 17px; color: var(--rose); flex-shrink: 0; margin-top: 3px; }
.hours-row { display: flex; justify-content: space-between; font-size: 16px; color: var(--ink-soft); padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours-row b { color: var(--ink); font-weight: 500; }
.social-ico { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); align-items: center; justify-content: center; box-shadow: var(--shadow-sm); color: var(--rose); }
.social-ico:hover { background: var(--rose); color: #fff; }
.social-ico svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-faint); }
.footer-bottom a { color: var(--ink-soft); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Interior page header (Unterseiten)
   ========================================================================== */
.page-hero { background: var(--cream); padding-block: clamp(48px, 6vw, 84px); text-align: center; border-bottom: 1px solid var(--line-soft); }
.page-hero .crumbs { font-size: 15px; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 16px; }
.page-hero .crumbs a { color: var(--ink-soft); }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); }
.page-hero p { color: var(--ink-soft); max-width: 60ch; margin: 18px auto 0; }

/* ==========================================================================
   Preistabelle (Leistungen)
   ========================================================================== */
.price-block { margin-bottom: clamp(32px, 4vw, 48px); }
.price-block h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-size: 27px; }
.price-block h3 .ln { flex: 1; height: 1px; background: var(--line); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: none; }
.price-list .name { flex: 1; font-size: 17px; color: var(--ink); }
.price-list .name small { display: block; font-size: 16px; color: var(--ink-faint); margin-top: 2px; }
.price-list .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.price-list .amt { font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--rose); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 780px) { .price-cols { grid-template-columns: 1fr; } }

.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,36px); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Kontakt / Formular
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.info-card .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--rose-tint); color: var(--rose); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 20px; margin-bottom: 4px; }
.info-card a, .info-card p { font-size: 16px; color: var(--ink-soft); }
.info-card a:hover { color: var(--rose); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-md); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--f-body); font-size: 16px; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-tint); }
.field textarea { resize: vertical; min-height: 120px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 20px; }
.consent input { margin-top: 3px; accent-color: var(--rose); width: 17px; height: 17px; flex-shrink: 0; }
.form .btn-primary { width: 100%; }
.form .btn-primary:disabled { opacity: .6; cursor: wait; transform: none; }
.form-note { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; font-size: 15px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); }
.form-note.is-error { border-color: var(--rose-soft); background: var(--rose-tint); color: var(--rose-deep); }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Map
   ========================================================================== */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-consent {
  min-height: 380px; display: grid; place-items: center; text-align: center; gap: 6px;
  background: linear-gradient(135deg, var(--cream), var(--rose-tint));
  padding: 24px;
}
.map-consent .ic { color: var(--rose); margin-bottom: 6px; }
.map-consent .ic svg { width: 40px; height: 40px; }
.map-consent p { font-size: 16px; color: var(--ink-soft); max-width: 44ch; margin: 0 0 14px; }
.map-consent button { cursor: pointer; }

/* ==========================================================================
   Zertifikate grid
   ========================================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.cert-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.cert-grid figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-grid img { border-radius: 8px; width: 100%; }
@media (max-width: 780px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Legal / Fließtext (Impressum, Datenschutz)
   ========================================================================== */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 40px 0 14px; }
.prose h3 { font-size: 21px; margin: 28px 0 8px; color: var(--ink); }
.prose p, .prose li { font-size: 18px; color: var(--ink-soft); line-height: 1.7; }
.prose ul { padding-left: 20px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose a { word-break: break-word; }
.prose strong { color: var(--ink); font-weight: 500; }

/* ---------- Reveal on scroll ----------
   Standardmäßig sichtbar. Nur wenn JS aktiv ist (html.js) und Bewegung
   erlaubt ist, wird der Startzustand leicht abgesenkt und eingeblendet –
   so bleibt bei No-JS oder Fehlern jeder Inhalt sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--rose); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* Lesbarkeit, schmale Ansichten und Bildvergrößerung */
html { scroll-padding-top: 100px; }
h3 { line-height: 1.2; overflow-wrap: anywhere; }
.hero-copy, .about-copy, .contact-grid > div, .footer-grid > div, .price-cols > div { min-width: 0; }
.about-copy h2 { margin-bottom: 20px; }
.text-link { display: inline-block; text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }
.info-card a, .footer-list a { overflow-wrap: anywhere; }
.hours-row { gap: 12px; }
.hours-row b { white-space: nowrap; }
.price-list .name { min-width: 0; overflow-wrap: anywhere; }
.cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cert-grid figcaption { padding: 16px 4px 6px; font-size: 16px; line-height: 1.55; }
.cert-grid figcaption strong, .cert-grid figcaption span { display: block; }
.cert-grid figcaption span { margin-top: 6px; color: var(--ink-soft); }
.image-link { display: block; cursor: zoom-in; }
.image-link:focus-visible { outline-offset: -4px; }
.image-dialog { border: 0; border-radius: 16px; padding: 20px; width: min(960px, calc(100% - 24px)); max-height: 94dvh; background: var(--ivory); color: var(--ink); }
.image-dialog::backdrop { background: rgba(20, 14, 18, .85); }
.image-dialog img { max-height: 72dvh; width: auto; max-width: 100%; object-fit: contain; margin: 12px auto; }
.image-dialog p { text-align: center; font-size: 16px; }
.image-dialog .close-image { display: block; margin-left: auto; min-height: 44px; }
body.image-open { overflow: hidden; }
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 780px) {
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cert-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { width: 100%; }
  .info-card { padding: 20px 16px; gap: 12px; }
  .price-card { padding: 22px 18px; }
  .price-block h3 { font-size: 25px; }
  .quote { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


@media (max-width: 520px) {
  .brand img { height: 50px; }
}
