/* =================================================================
   Klann der Augenoptiker – main.css
   Arial-System-Stack · Karminrot-CI · tracker-frei
   ================================================================= */

:root {
  --red:        #9C1A1A;
  --red-dark:   #7A1414;
  --red-soft:   #f4e7e6;
  --ink:        #1c1c1c;
  --muted:      #5a5a5a;
  --silver:     #9a9a9a;
  --line:       #e6e3e1;
  --bg:         #ffffff;
  --bg-soft:    #f6f4f2;
  --footer-bg:  #232020;
  --footer-fg:  #cfc9c7;

  --container:  1180px;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 6px 24px rgba(0,0,0,.08);
  --shadow-sm:  0 2px 10px rgba(0,0,0,.06);

  --font:       Arial, "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* ---- Helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 800px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 700; color: var(--red); margin: 0 0 .6em;
}
.section { padding: 76px 0; }
.section--center { text-align: center; }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.section__lead { color: var(--muted); font-size: 1.08rem; }
.screen-reader-text {
  position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px;
  overflow: hidden; padding: 0; border: 0;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 12px; top: 12px; z-index: 1000; background: #fff; color: var(--red);
  padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 2px solid transparent; transition: all .18s ease; text-decoration: none;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: var(--red-dark); color: #fff; border-color: var(--red-dark); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.5em 0 0; }
.btn-row--center { justify-content: center; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.site-logo, .logo-link img { height: 72px; width: auto; }
.logo-link { display: inline-flex; align-items: center; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-link {
  display: inline-block; padding: 10px 14px; color: var(--ink); font-weight: 600;
  border-radius: var(--radius-sm); font-size: .98rem;
}
.nav-link:hover { color: var(--red); background: var(--bg-soft); text-decoration: none; }
.nav-link--accent { color: var(--red); }
.header-actions { display: flex; align-items: center; }

/* ---- Burger ---- */
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,12,12,.78) 0%, rgba(20,12,12,.5) 45%, rgba(20,12,12,.15) 100%); }
.hero__inner { position: relative; padding: 72px 24px; max-width: 720px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .85rem; color: #f3d9d6; margin: 0 0 .8em; }
.hero__title { font-size: clamp(2rem, 5vw, 3.3rem); margin: 0 0 .4em; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #f1ece9; max-width: 620px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2em; }

/* ---- USP-Leiste ---- */
.usp { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.usp__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; padding: 54px 24px; }
.usp__item { position: relative; padding-left: 56px; }
.usp__num { position: absolute; left: 0; top: -4px; font-size: 2.1rem; font-weight: 800; color: var(--red); opacity: .25; }
.usp__title { font-size: 1.15rem; margin-bottom: .35em; }
.usp__text { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---- Cards ---- */
.card-grid { display: grid; gap: 26px; }
.card-grid--4 { grid-template-columns: repeat(4,1fr); }
.card-grid--3 { grid-template-columns: repeat(3,1fr); }
.card-grid--2 { grid-template-columns: repeat(2,1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 24px; }
.card--link .card__inner { display: block; color: inherit; text-decoration: none; }
.card--link:hover .card__title { color: var(--red); }
.card__title { font-size: 1.15rem; margin-bottom: .35em; }
.card__text { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---- Split (Bild + Text) ---- */
.split { padding: 76px 0; }
.split--alt { background: var(--bg-soft); }
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__text h2 { margin-bottom: .4em; }
.ticklist { list-style: none; margin: 1.2em 0; padding: 0; }
.ticklist li { position: relative; padding-left: 30px; margin-bottom: .6em; color: var(--ink); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  background: var(--red); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---- Brands ---- */
.brands { padding: 76px 0; }
.brand-wall { list-style: none; display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; margin: 0 0 8px; }
.brand-tile {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 84px; padding: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.brand-tile:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.brand-tile__name { font-weight: 700; color: #3a3a3a; font-size: .95rem; }
.brand-tile img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.brand-tile__link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; }
.brand-tile__link:hover { text-decoration: none; }

/* ---- CTA-Banner ---- */
.cta-block { background: var(--red); color: #fff; }
.cta-block__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px 24px; flex-wrap: wrap; }
.cta-block__title { font-size: clamp(1.5rem,3vw,2rem); margin: 0; }
.cta-block__sub { margin: .4em 0 0; color: #f6e4e2; max-width: 560px; }

/* ---- Contact ---- */
.contact { padding: 76px 0; background: var(--bg-soft); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact__list { list-style: none; margin: 1.5em 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: start; }
.contact__label { font-weight: 700; color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.contact__value { color: var(--ink); }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.2em; }
.contact__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.contact__maps { margin: 14px 0 0; text-align: center; font-weight: 600; }

/* ---- Page hero (Unterseiten) ---- */
.page-hero { position: relative; background: var(--ink) center/cover no-repeat; color: #fff; padding: 0; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,12,12,.82), rgba(20,12,12,.45)); }
.page-hero__inner { position: relative; padding: 68px 24px; max-width: 760px; }
.page-hero--large .page-hero__inner { padding: 104px 24px; }
.page-hero__tag { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .82rem; color: #f3d9d6; margin: 0 0 .6em; }
.page-hero__title { font-size: clamp(1.8rem,4vw,2.8rem); margin: 0; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.page-hero__sub { font-size: 1.1rem; color: #f1ece9; margin: .7em 0 0; }
.breadcrumb { font-size: .85rem; color: #e7d7d5; margin-bottom: 1.1em; }
.breadcrumb a { color: #f3d9d6; }
.breadcrumb [aria-current] { color: #fff; }

/* ---- Prose (Fließtext / Rechtstexte) ---- */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }

/* ---- Leistungs-/Preis-Liste (Termin) ---- */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; }
.service-list__name { font-weight: 600; }
.service-list__dur { color: var(--muted); white-space: nowrap; }

/* ---- Leistungen/Terminarten – moderne Karten ---- */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); position: relative;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--red); border-radius: 3px; }
.service-card__name { font-size: 1.12rem; margin: 0 0 2px; padding-left: 12px; }
.service-card__desc { color: var(--muted); font-size: .95rem; margin: 0; padding-left: 12px; flex: 1; }
.service-card__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-left: 12px; margin-top: 6px; }
.service-card__dur { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.service-card__dur svg { color: var(--red); }
.service-card__price {
  margin-left: auto; font-weight: 700; color: var(--red); font-size: .95rem;
  background: var(--red-soft); padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.service-card__note { padding-left: 12px; margin: 4px 0 0; color: var(--muted); font-size: .82rem; font-style: italic; }

/* ---- Kontaktlinsen-Intro ---- */
.kl-intro__title { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .35em; }
.kl-intro__lead { margin-bottom: .4em; }
.kl-quote { color: var(--red); font-size: 1.1rem; font-style: italic; margin-top: 1.2em; }

/* ---- Prozess (5 Schritte) ---- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.process__closing { text-align: center; margin: 44px 0 0; color: var(--red); font-style: italic; font-size: 1.15rem; }
.process__step { text-align: center; position: relative; }
.process__step:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; left: calc(50% + 42px); right: calc(-50% + 42px);
  border-top: 2px dotted var(--silver); opacity: .6; z-index: 0;
}
.process__icon {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 50%;
  color: var(--red); box-shadow: var(--shadow-sm);
}
.process__num { color: var(--red); font-weight: 800; font-size: 1.05rem; margin: 0 0 .1em; }
.process__title { font-size: 1.05rem; margin: 0 0 .35em; }
.process__text { color: var(--muted); font-size: .92rem; margin: 0; padding: 0 6px; }

/* ---- Callout-Kasten (Intro) ---- */
.callout {
  display: flex; align-items: center; gap: 14px; margin: 1.4em 0 0;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
  background: #fff; color: var(--ink); font-style: italic; line-height: 1.5;
}
.callout__icon { flex: 0 0 auto; color: var(--red); display: inline-flex; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.team-card { text-align: center; }
.team-card img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.team-card__name { font-size: 1.15rem; margin: 0 0 .15em; }
.team-card__role { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---- Footer ---- */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); }
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 36px; }
.footer-logo-chip { display: inline-block; background: #fff; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.footer-logo { height: 52px; width: auto; }
.footer-tagline { color: #b6afac; font-size: .95rem; }
.footer-address { font-style: normal; line-height: 1.8; color: var(--footer-fg); }
.footer-address a { color: #fff; }
.footer-col-title { font-size: 1rem; color: #fff; margin-bottom: 1em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55em; }
.footer-col a { color: var(--footer-fg); }
.footer-col a:hover { color: #fff; }
.footer-hours { border-collapse: collapse; }
.footer-hours th { text-align: left; padding-right: 18px; font-weight: 700; color: #fff; vertical-align: top; }
.footer-hours td { color: var(--footer-fg); }
.footer-hours__note { font-size: .85rem; color: #9a9290; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; flex-wrap: wrap; }
.footer-legal { margin: 0; font-size: .85rem; color: #9a9290; }
.footer-legal-list { list-style: none; display: flex; gap: 20px; }
.footer-legal-list a { color: var(--footer-fg); font-size: .85rem; }
.footer-legal-list a:hover { color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .card-grid--4 { grid-template-columns: repeat(2,1fr); }
  .brand-wall { grid-template-columns: repeat(4,1fr); }
}

/* Navigation: Burger schon ab 1024px, damit 6 Menüpunkte nie überlaufen */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .28s ease; padding: 88px 24px 24px;
    margin: 0; overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { display: block; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link--accent { color: var(--red); }
  .burger { display: block; z-index: 200; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 860px) {
  .usp__grid { grid-template-columns: 1fr; gap: 26px; }
  .split__inner, .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .split--alt .split__media, .split__media { order: -1; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .process__step:not(:last-child)::after { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section, .split, .brands, .contact { padding: 52px 0; }
  .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .cta-block__inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .process { grid-template-columns: 1fr; }
}

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