/* =========================================================
   TERZER GROUP – Designsystem (v2)
   Prinzipien: eckig (max. 2 px), keine Schatten, Hierarchie über
   Typografie/Abstand/Haarlinien, Fotos vor Deko, Rot nur als
   sparsamer Akzent (Buttons, aktive Zustände, Links).
   Farben: Anthrazit #282B2F · Navy #142B49 · Logo-Rot #C6242D · Weiß
   ========================================================= */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }

:root {
  --ink: #282B2F;
  --navy: #142B49;
  --navy-deep: #0F2038;
  --red: #C6242D; /* exakter Rotton des offiziellen Logos */
  --red-dark: #A71E26;
  --white: #fff;
  --gray-50: #F4F5F6;
  --line: #D9DCE0;
  --muted: #5B626A;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: 20px;
  --header-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --section-y: clamp(56px, 8vw, 112px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.25rem; }
.h-md { font-size: clamp(1.5rem, 3vw, 2rem); }
.h-sm { font-size: 1.3rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 58ch; }

/* Überschrift-Vorspann: schlichter Text in Versalien, ohne Hintergrund/Rahmen */
.eyebrow { margin: 0 0 14px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.eyebrow--onphoto { margin: 0 0 8px; color: rgba(255, 255, 255, .85); }
.eyebrow--mehr-als-papier { color: var(--red); }
.eyebrow--tobacco-more { color: var(--navy); }
.concept-name--mehr-als-papier { color: var(--red); }
.concept-name--tobacco-more { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: var(--radius); border: 2px solid transparent; font: 700 .96rem/1.2 var(--font); text-align: center; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--red); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* ---------- Header (Rot des offiziellen Logos) ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--red); color: #fff; transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(12, 16, 23, .25); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { display: block; height: 30px; width: auto; }
.nav { display: none; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; color: #fff; font-weight: 600; font-size: .94rem; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 700; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px 0 12px; margin: 0 -4px 0 12px; border: 0; background: transparent; font: 700 .9rem var(--font); color: #fff; cursor: pointer; }
.menu-btn-bars { position: relative; width: 26px; height: 14px; }
.menu-btn-bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn-bars i:nth-child(1) { top: 0; }
.menu-btn-bars i:nth-child(2) { top: 12px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { top: 6px; transform: rotate(-45deg); }
.site-header :focus-visible { outline-color: #fff; }
.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #fff; color: var(--ink); overflow-y: auto; padding: 12px 0 32px; animation: menu-in .3s var(--ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 16px 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.mobile-menu-foot { margin-top: 24px; }
.mobile-menu-foot .btn { width: 100%; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 1120px) {
  .nav { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
  :root { --header-h: 76px; }
  .brand img { height: 36px; }
}
@media (max-width: 380px) { .brand img { height: 26px; } .menu-btn-label { font-size: .82rem; } }

/* ---------- Fotos ---------- */
.photo { position: relative; overflow: hidden; background: #e6e8ea; border-radius: 0; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-16-10 { aspect-ratio: 16 / 10; }
.r-4-3 { aspect-ratio: 4 / 3; }
.ph { display: flex; align-items: center; justify-content: center; min-height: 160px; padding: 20px; text-align: center; color: var(--muted); background: var(--gray-50); border: 1px solid var(--line); }
.ph-label { font-size: .85rem; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.h1-accent { background: linear-gradient(transparent 82%, var(--red) 82%, var(--red) 94%, transparent 94%); padding-bottom: .04em; }
.hero .lede { color: #d6dae0; }
.hero .lede strong { color: #fff; font-weight: 700; }
.hero-stat { display: flex; align-items: center; gap: 18px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stat-n { font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.hero-stat-t { display: block; font-size: .92rem; color: #b9bfc7; line-height: 1.4; }
.hero-stat-t strong { display: block; color: #fff; font-size: 1.05rem; }
.hero-visual { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; height: clamp(280px, 62vw, 460px); }
.hv-main, .hv-side { position: relative; margin: 0; min-height: 0; }
.hv-main .photo, .hv-side .photo { position: absolute; inset: 0; }
.hv-main figcaption, .hv-side figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 36px 14px 12px; background: linear-gradient(to top, rgba(10, 13, 18, .78), rgba(10, 13, 18, 0)); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 700px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-visual { height: clamp(320px, 42vw, 440px); }
}
@media (min-width: 1024px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { gap: 64px; grid-template-columns: 1.2fr 1fr; }
  .hero-visual { height: 500px; }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(44px, 6vw, 96px) 0; }
.section.tight { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); }
.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-navy p { color: #d3dbe6; }
.section-head { margin-bottom: clamp(26px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.section-head--row h2 { max-width: none; }
.plain-list { margin: 22px 0 18px; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* Konzepte (Startseite): große Fotos, Text direkt auf der Fläche, versetzt */
.concepts { display: grid; gap: clamp(48px, 7vw, 96px); }
.concept { display: grid; gap: 24px; align-items: center; }
.concept-text h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: .4em; }
.concept-text > p:not(.eyebrow) { color: #3a3f45; max-width: 52ch; }
.concept:hover .photo img { transform: scale(1.03); }
@media (min-width: 900px) {
  .concept { grid-template-columns: 7fr 5fr; gap: 64px; }
  .concept--tobacco-more { grid-template-columns: 5fr 7fr; }
  .concept--tobacco-more .concept-media { order: 2; }
}

/* Filial-Raster (Startseite): Fotos mit Text auf der Fläche, unterschiedlich groß */
.b-grid { display: grid; gap: 14px; }
.b-card { position: relative; display: block; min-height: 280px; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.b-card .b-photo { position: absolute; inset: 0; }
.b-card:hover .b-photo img { transform: scale(1.05); }
.b-card .ph { min-height: 0; }
.b-overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(to top, rgba(12, 16, 23, .94) 0%, rgba(12, 16, 23, .78) 30%, rgba(12, 16, 23, .36) 55%, rgba(12, 16, 23, 0) 76%); }
.b-overlay h3, .b-overlay .b-highlight, .b-overlay .b-more { text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.b-overlay h3 { margin: 0 0 6px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.15; }
.b-overlay h3 small, .branch-hero h1 small { display: block; margin-top: 4px; font-size: max(.5em, .82rem); font-weight: 600; letter-spacing: 0; opacity: .85; }
.b-highlight { margin: 0 0 10px; font-size: .9rem; font-weight: 600; color: #fff; line-height: 1.35; }
.b-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; }
.b-more svg { transition: transform .25s var(--ease); }
.b-card:hover .b-more svg { transform: translateX(5px); }
@media (min-width: 640px) { .b-grid { grid-template-columns: 1fr 1fr; } .b-card { min-height: 300px; } }
@media (min-width: 1000px) {
  .b-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .b-card { grid-column: span 2; min-height: 330px; }
  .b-card.is-feature { grid-column: span 4; grid-row: span 2; min-height: 0; }
  .b-overlay { padding: 26px; }
}
.brand-panel { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; aspect-ratio: 16 / 10; padding: clamp(22px, 4vw, 40px); color: #fff; background: var(--ink); }
.brand-panel--tobacco-more { background: var(--navy); }
.bp-name { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: .1em; line-height: 1; }
.bp-concept { font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.bp-place { font-size: .95rem; opacity: .75; }
.b-card .brand-panel { position: absolute; inset: 0; aspect-ratio: auto; }
.b-card .brand-panel > span { display: none; }

/* Sortiment-Teaser (Startseite): asymmetrisch */
.st-grid { display: grid; gap: 14px; }
.st-tile { position: relative; display: block; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; aspect-ratio: 4 / 3; }
.st-tile .st-photo { position: absolute; inset: 0; }
.st-tile:hover .st-photo img { transform: scale(1.05); }
.st-overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px 20px; background: linear-gradient(to top, rgba(12, 16, 23, .9) 0%, rgba(12, 16, 23, .55) 34%, rgba(12, 16, 23, 0) 64%); }
.st-overlay h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.st-panel { position: absolute; inset: 0; display: flex; align-items: flex-start; padding: 20px; background: var(--navy); }
.st-big { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
@media (min-width: 640px) { .st-grid { grid-template-columns: 1fr 1fr; } .st-tile--0 { grid-column: 1 / -1; aspect-ratio: 21 / 9; } }
@media (min-width: 1000px) {
  .st-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 290px; gap: 16px; }
  .st-tile, .st-tile--0 { aspect-ratio: auto; grid-column: span 4; }
  .st-tile--0 { grid-column: span 7; }
  .st-tile--1 { grid-column: span 5; }
}

/* Terzer Family (Startseite) */
.family-grid { display: grid; gap: 32px; align-items: end; }
.family-copy h2 { max-width: 16ch; }
@media (min-width: 900px) { .family-grid { grid-template-columns: 7fr 4fr; gap: 72px; } }
.members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; margin: 22px 0 0; }
.members li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.members strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.members li > span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.members--dark li { border-top-color: rgba(255, 255, 255, .22); }
.members--dark strong { color: #fff; }
.members--dark li > span { color: #b9c3d3; }
@media (min-width: 700px) { .members { grid-template-columns: repeat(4, 1fr); gap: 0 28px; } .members strong { font-size: 1.6rem; } }
.members-note { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }
.section-navy .members { margin-top: 36px; }

/* B2B */
.b2b-band { display: grid; gap: 20px; align-items: center; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b2b-copy h2 { margin-bottom: .3em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.b2b-copy p { margin: 0; color: var(--muted); max-width: 60ch; }
.b2b-copy .eyebrow { margin-bottom: 10px; }
.b2b-band .btn { justify-self: start; }
@media (min-width: 800px) { .b2b-band { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Unterseiten ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 3vw, 40px); background: var(--gray-50); }
.page-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); margin-bottom: .3em; }
.page-head h1 small { display: block; margin-top: 2px; font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.crumbs { margin-bottom: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a { display: inline-block; padding: 10px 2px; }
.crumbs a:hover { color: var(--red); }
.jumps { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0 0 24px; font-weight: 700; }
.jumps a { display: inline-block; padding: 10px 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.jumps a:hover { text-decoration-color: var(--red); }

/* Filialübersicht: Fotos, Text direkt darunter, erste Filiale groß */
.concept-group { margin-bottom: clamp(48px, 7vw, 88px); scroll-margin-top: 90px; }
.concept-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--ink); }
.concept-group-head h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.concept-group-head p { margin: 0; font-size: .92rem; color: var(--muted); }
.loc-grid { display: grid; gap: 40px 28px; }
.loc-card { scroll-margin-top: 90px; }
.loc-media { display: block; }
.loc-card:hover .photo img { transform: scale(1.03); }
.loc-body { padding-top: 18px; }
.loc-body h3 { margin-bottom: .45em; font-size: 1.35rem; line-height: 1.2; }
.loc-body h3 small, .page-head h1 small { display: block; margin-top: 2px; font-size: max(.55em, .82rem); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.loc-body h3 a:hover { color: var(--red); }
.loc-sunday { margin: 6px 0 0; font-size: .88rem; font-weight: 700; color: var(--navy); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (min-width: 700px) { .loc-grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; } }
@media (min-width: 1000px) {
  #mehr-als-papier .loc-grid { grid-template-columns: repeat(3, 1fr); }
  #mehr-als-papier .loc-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
  #mehr-als-papier .loc-card:first-child .loc-body { padding-top: 0; }
  #mehr-als-papier .loc-card:first-child h3 { font-size: 2rem; }
}
.facts { display: grid; gap: 8px; margin: 8px 0 4px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { flex: none; margin-top: 4px; color: var(--muted); }
.facts small { display: block; color: var(--muted); font-size: .88rem; }
.facts a { display: inline-block; padding: 8px 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.facts a:hover { text-decoration-color: var(--red); }

/* Filialseite */
.branch-hero { display: grid; gap: 28px; align-items: center; }
.branch-hero h1 { margin: 0 0 .4em; font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.branch-hero .btn-row { margin-top: 24px; }
@media (min-width: 900px) { .branch-hero { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.branch-hero > * { min-width: 0; }
.visit { display: grid; gap: 36px; }
.visit > * { min-width: 0; }
@media (min-width: 800px) { .visit { grid-template-columns: 1fr 1fr; gap: 72px; } }
.hours-card h2, .visit-contact h2 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.hours { margin: 0; }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours-row dt { font-weight: 700; }
.hours-row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; line-height: 1.5; }
.hours-row.is-closed dd { color: var(--muted); font-weight: 600; }
.visit-contact .btn-row { margin-top: 20px; }
.assort { display: grid; gap: 28px; margin-top: 18px; }
.assort-group { padding-top: 14px; border-top: 1px solid var(--ink); }
.assort-group h3 { font-size: 1.05rem; margin-bottom: .5em; }
.assort-group h3 a { display: inline-block; padding: 6px 0; }
.assort-group h3 a:hover { color: var(--red); }
.assort-group li { padding: 7px 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .assort { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; } }
@media (min-width: 1000px) { .assort { grid-template-columns: repeat(3, 1fr); } }
.note { font-size: .88rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery .photo { aspect-ratio: 4 / 5; }
.gallery .photo:hover img { transform: scale(1.04); }
.gallery-section { padding-top: 0; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.other-branches { display: grid; margin-top: 16px; }
.other-branches a.ob { display: block; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 700; }
.other-branches a.ob small { display: block; margin-top: 2px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.other-branches a.ob:hover { color: var(--red); }
.nm-tail { white-space: nowrap; }
@media (min-width: 640px) { .other-branches { grid-template-columns: repeat(2, 1fr); gap: 0 40px; } }
@media (min-width: 1000px) { .other-branches { grid-template-columns: repeat(3, 1fr); } }

/* FAQ: Trennlinien statt Boxen */
.faq { margin-top: 12px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--ink); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 18px; color: #3a3f45; max-width: 64ch; }

/* Sortiment */
.legend { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 36px; font-size: .9rem; font-weight: 800; }
.sg-list { display: grid; gap: clamp(44px, 6vw, 80px); }
.sg { display: grid; gap: 24px; align-items: start; scroll-margin-top: 90px; }
.sg-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .35em; }
.sg-body > p { color: var(--muted); max-width: 56ch; }
.sg-items { margin-top: 14px; border-top: 1px solid var(--ink); }
.sg-items li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sg-item { font-weight: 800; line-height: 1.35; }
.sg-at { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 24px; }
.blink { display: inline-block; padding: 7px 0; font-size: .9rem; font-weight: 600; line-height: 1.3; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.blink:hover { text-decoration-color: currentColor; }
.blink--mehr-als-papier { color: var(--red); }
.blink--tobacco-more { color: var(--navy); }
.blink .nm-tail { white-space: normal; }
.sg-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-photos figure { margin: 0; }
.sg-photos .photo { aspect-ratio: 4 / 5; }
.sg-photos--3 figure:first-child { grid-column: 1 / -1; }
.sg-photos--3 figure:first-child .photo { aspect-ratio: 3 / 2; }
.sg-photos figcaption { margin-top: 6px; font-size: .74rem; color: var(--muted); }
.sg-panel { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; min-height: 300px; padding: clamp(24px, 4vw, 40px); background: var(--navy); color: #fff; }
.sg-panel-big { font-size: clamp(3.4rem, 9vw, 5.5rem); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.sg-panel-text { font-size: 1.1rem; font-weight: 600; max-width: 26ch; }
.sg-panel .sg-at { display: flex; flex-wrap: wrap; gap: 0 20px; }
.sg-panel .blink { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
@media (min-width: 900px) {
  .sg { grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); }
  .sg--flip .sg-media { order: 2; }
  .sg-photos--3 { grid-template-columns: repeat(3, 1fr); }
  .sg-photos--3 figure:first-child { grid-column: auto; }
  .sg-photos--3 figure:first-child .photo { aspect-ratio: 4 / 5; }
}
.matrix-hint { display: none; margin: 14px 0 6px; font-size: .82rem; font-weight: 700; color: var(--red); align-items: center; gap: 6px; }
.matrix-wrap { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 8px; }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.matrix th, .matrix td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; border-bottom-color: var(--ink); }
.matrix tbody th { min-width: 170px; text-align: left; font-weight: 700; line-height: 1.3; position: sticky; left: 0; background: var(--gray-50); z-index: 1; }
.matrix thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--gray-50); }
.matrix tbody th a { display: block; }
.matrix th a:hover { color: var(--red); }
.tick { color: var(--ink); display: inline-grid; place-items: center; }
.dash { color: #b5bac0; }
@media (max-width: 759px) { .matrix-hint { display: flex; } .matrix tbody th { min-width: 150px; } }

/* Terzer Family (Unterseite) */
.family-hero { margin: 0; }
.family-intro { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.55; font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: pretty; }
.family-text .eyebrow { margin-bottom: 18px; }
.team-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.team-strip figure { margin: 0; }
.team-strip .photo { aspect-ratio: 4 / 5; }
.team-strip figcaption { margin-top: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.team-strip--3 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.team-strip--3 figcaption { font-size: .76rem; }
@media (min-width: 800px) { .team-strip { grid-template-columns: repeat(4, 1fr); gap: 16px; } .team-strip--3 { grid-template-columns: repeat(3, 1fr); } }
.values { display: grid; gap: 28px; margin: 24px 0 8px; }
.values li { padding-top: 16px; border-top: 1px solid var(--ink); }
.values h3 { font-size: 1.15rem; margin-bottom: .3em; }
.values p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }

/* Kontakt */
.contact-grid { display: grid; gap: 36px; }
.contact-grid > * { min-width: 0; }
.contact-photo .photo { aspect-ratio: 3 / 2; }
.contact-col h2 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.contact-col .facts { margin-bottom: 20px; }
.contact-col .note { margin: 18px 0 0; }
.contact-branches li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-branches strong { display: block; line-height: 1.3; }
.contact-branches span { display: block; font-size: .88rem; color: var(--muted); }
.cb-actions { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.cb-actions a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: .92rem; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cb-actions a:hover { color: var(--red); text-decoration-color: var(--red); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 7fr 5fr; gap: 56px 72px; align-items: center; }
  .contact-col--wide { grid-column: 1 / -1; }
  .contact-photo .photo { aspect-ratio: 4 / 3; }
}

/* Rechtsseiten */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.legal-content p, .legal-content li { color: #3a3f45; }
.legal-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { margin: 0 0 8px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.legal-address { font-style: normal; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); line-height: 1.7; margin: 0 0 18px; }
.legal-dl { display: grid; margin: 0; border-top: 1px solid var(--ink); }
.legal-dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { font-weight: 700; }
.legal-dl dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.legal-list { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal-list li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d5d9de; padding: clamp(48px, 6vw, 80px) 0 24px; font-size: .95rem; border-top: 4px solid var(--red); }
.footer-grid { display: grid; gap: 36px 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; max-width: 400px; }
.footer-brand .brand img { height: 38px; }
.footer-brand p { margin-top: 16px; }
.footer-operator { font-size: .85rem; opacity: .75; }
.footer-h { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer li a { display: inline-block; padding: 9px 0; overflow-wrap: anywhere; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a, .footer-credit a { display: inline-block; padding: 10px 0; }
.footer-credit { margin: 14px 0 0; font-size: .78rem; opacity: .6; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .footer-grid > nav { order: 2; }
  .footer-grid > div:last-child { order: 3; }
  .footer-grid > div:nth-child(3) { order: 4; grid-column: 1 / -1; }
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; } .footer-brand { grid-column: auto; } }

/* ---------- Lightbox ---------- */
a.lb { display: block; cursor: zoom-in; }
a.lb:focus-visible { outline-offset: 4px; }
.lightbox { position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; background: rgba(10, 13, 18, .94); animation: lb-in .25s var(--ease); }
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox img { max-width: min(100%, 1100px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; touch-action: pan-y; user-select: none; }
.lightbox figcaption { margin-top: 12px; max-width: 70ch; color: #dde1e7; font-size: .9rem; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius); background: transparent; color: #fff; font: 700 1.4rem/1 var(--font); cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-close { top: 8px; right: 8px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lightbox img { max-height: calc(100dvh - 200px); } }

/* ---------- Bewegung (dezent) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 380px) { :root { --gutter: 16px; } .btn { width: 100%; } }
@media (min-width: 1280px) { :root { --container: 1240px; } }
@media (min-width: 2000px) { html { font-size: 112.5%; } :root { --container: 1360px; } }
