/* ==========================================================
   Kaufhaus Döring – Relaunch 2026
   Farben aus dem bestehenden Logo/CI abgeleitet
   ========================================================== */

@font-face {
  font-family: "Play";
  src: url("../fonts/play-v17-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Play";
  src: url("../fonts/play-v17-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ef8027;        /* Logo-Orange */
  --orange-dark: #c9651a;   /* Hover / Text auf Hell (Kontrast) */
  --yellow: #f7b928;        /* Logo-Akzentquadrate */
  --brown: #6a5544;         /* bisherige Textfarbe */
  --brown-dark: #3d3128;
  --sand: #cbbea8;          /* bisherige Menüfarbe */
  --cream: #f7f3ed;
  --paper: #ffffff;
  --text: #2e2620;
  --muted: #6f6258;
  --line: #e6ddd0;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(61, 49, 40, .25);
  --max: 1180px;
  --font-head: "Play", "Trebuchet MS", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--brown-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-dark);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brown-dark); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.brand img { width: 190px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  font-family: var(--font-head); font-size: 1rem; text-decoration: none;
  color: var(--brown-dark);
}
.nav a:hover { background: var(--cream); }
.nav a[aria-current="page"] { background: var(--orange); color: #fff; }

.header-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none; color: var(--brown-dark); white-space: nowrap;
}
.header-cta svg { width: 18px; height: 18px; color: var(--orange); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--brown-dark);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .header-cta span { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; padding: .5rem 1rem 1rem;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { border-radius: var(--radius-sm); padding: .8rem 1rem; }
  .brand img { width: 150px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { border-color: var(--brown-dark); color: var(--brown-dark); background: transparent; }
.btn-outline:hover { background: var(--brown-dark); color: #fff; }

/* ---------- Markenmotiv: gelbe Quadrate aus dem Logo ---------- */
.blocks { display: inline-flex; flex-direction: column; gap: 4px; vertical-align: middle; }
.blocks i { display: block; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: .8rem;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow);
  box-shadow: 0 -14px 0 var(--yellow), 0 14px 0 var(--yellow);
  margin: 14px 0;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--brown-dark); color: #efe7dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-dark .section-head p { color: #d9cdbd; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: clamp(2.5rem, 6vw, 4.5rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -1rem; bottom: -1rem;
  background: var(--orange); color: #fff; border-radius: var(--radius);
  padding: 1rem 1.25rem; font-family: var(--font-head); box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-size: 1.8rem; line-height: 1; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { left: .75rem; bottom: .75rem; }
}

/* Unterseiten-Kopf */
.page-hero { background: var(--cream); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero p { max-width: 62ch; color: var(--muted); font-size: 1.15rem; margin: 0; }

/* ---------- Info-Leiste (Öffnungszeiten) ---------- */
.infobar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: -2.5rem; position: relative; z-index: 2; }
.infobar .card { padding: 1.4rem 1.5rem; }
.infobar h3 { font-size: 1.05rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .5rem; }
.infobar h3 svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.infobar p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .infobar { grid-template-columns: 1fr; margin-top: 1.5rem; } }

.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; margin-top: .4rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.open { color: #2f7a3b; }
.status.open::before { background: #2f9a46; }
.status.closed { color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* Etagen */
.floor { padding: 1.75rem; display: flex; flex-direction: column; }
.floor-tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--cream); color: var(--brown); border-radius: 999px; padding: .25rem .75rem; margin-bottom: .9rem;
}
.floor ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.floor li { padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.floor li:last-child { border-bottom: 0; }
.floor .more { margin-top: auto; font-weight: 600; text-decoration: none; }

/* Marken-Bilder */
.brand-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.brand-tiles figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #eee; }
.brand-tiles img { width: 100%; aspect-ratio: 950 / 455; object-fit: cover; transition: transform .4s; }
.brand-tiles figure:hover img { transform: scale(1.03); }
@media (max-width: 600px) { .brand-tiles { grid-template-columns: 1fr; } }

/* kleine Altbilder nicht hochskalieren */
img.native { width: auto; max-width: 100%; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; max-width: 240px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.photo-strip figcaption { font-size: .85rem; color: #d9cdbd; margin-top: .35rem; }

/* Service */
.service { padding: 1.5rem; }
.service .icon {
  width: 48px; height: 48px; border-radius: 12px; background: #fdeee1; color: var(--orange-dark);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.service .icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.service p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Split / Text-Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.facts div { border-left: 3px solid var(--yellow); padding-left: .9rem; }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--brown-dark); line-height: 1.1; }
.facts span { color: var(--muted); font-size: .95rem; }
.section-dark .facts strong { color: #fff; }
.section-dark .facts span { color: #d9cdbd; }

/* Markenlogos */
.logo-group { margin-bottom: 2.5rem; }
.logo-group h3 { display: flex; align-items: center; gap: .6rem; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.logo-grid li {
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: grid; place-items: center; padding: .6rem; aspect-ratio: 3 / 2;
}
.logo-grid img { max-height: 45px; max-width: 90px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid { padding: 0; margin: 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 2rem 2.25rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 16px; height: 16px; border-radius: 4px; background: var(--yellow);
}
.timeline .year { font-family: var(--font-head); font-weight: 700; color: var(--orange-dark); font-size: 1.15rem; }
.timeline p { margin: .2rem 0 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .35rem; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Team */
.team-card { overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-card .body { padding: 1.25rem 1.4rem 1.5rem; }
.team-card .role { color: var(--orange-dark); font-family: var(--font-head); margin-bottom: .3rem; }
.team-card p { color: var(--muted); margin: 0; }

/* Kontakt */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: .15rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--muted); width: 40%; }

.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; padding: .75rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid #cfc3b3; background: #fff; color: var(--text);
}
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: .9rem; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; }

/* Zwei-Klick-Karte */
.map-consent {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px;
  background:
    linear-gradient(rgba(247,243,237,.92), rgba(247,243,237,.92)),
    repeating-linear-gradient(0deg, transparent 0 38px, var(--line) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, var(--line) 38px 39px);
  border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center; padding: 2rem;
}
.map-consent .inner { max-width: 440px; }
.map-consent svg.pin { width: 44px; height: 44px; color: var(--orange); margin: 0 auto .6rem; }
.map-consent p { color: var(--muted); font-size: .95rem; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Hinweisbox */
.note { background: #fff8ec; border: 1px solid #f3dcb3; border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--brown-dark); }

/* Rechtstexte */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal ul { padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dark); color: #d9cdbd; padding: 3.5rem 0 1.5rem; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.footer-logo { width: 170px; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

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