/* =========================================================
   Morinaj – Gestaltung
   Farben: von der bisherigen Morinaj-Seite (Grün).
   Schrift und Bausteine: im Stil von alpenstudio.ch (Apple-Look).
   ========================================================= */

/* Schrift: auf Apple-Geräten die Systemschrift (SF Pro), sonst Inter Tight
   (SIL Open Font License, lokal gehostet, keine Daten an Dritte). */
@font-face {
  font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-tight-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-tight-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* Morinaj-Farben */
  --ink: #171a17;          /* fast schwarz, leicht grünlich */
  --ink-2: #2c312c;        /* Hover für dunkle Knöpfe */
  --paper: #ffffff;
  --mist: #f5f6f4;         /* hellgraue Bereiche */
  --white: #ffffff;
  --text: #171a17;
  --muted: #5d625c;        /* Nebentext, 5.9:1 auf Weiss */
  --line: #e7e9e5;
  --line-strong: #d3d7d1;
  --accent: #3d7a54;       /* Morinaj-Grün: Knöpfe, Links, Symbole (5.2:1 auf Weiss) */
  --accent-2: #2f6242;     /* Grün dunkel: Hover */
  --accent-soft: #7cc68d;  /* helles Grün: nur auf dunklem Grund oder als Dekor */
  --accent-tint: #eaf4ec;  /* sehr helles Grün für Flächen */
  --on-dark: #f5f6f4;
  --on-dark-soft: #a9afa8;
  --on-dark-line: rgba(255, 255, 255, 0.24);
  --error: #b00012;
  --error-bg: #fff0f0;

  /* Schrift-Stufen und Masse (wie Alpenstudio) */
  --h1: clamp(40px, 5.6vw, 68px);
  --h2: clamp(32px, 4vw, 48px);
  --h3: clamp(23px, 2.4vw, 30px);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter Tight', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter Tight', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E");
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scroll-behavior: smooth; background: var(--paper); }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 18px; line-height: 1.6; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow-x: clip;
}
main { flex: 1 0 auto; }
main:focus { outline: none; }
a { color: inherit; text-underline-offset: 0.2em; }
img, video, svg { display: block; max-width: 100%; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--ink); color: var(--white); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(61, 122, 84, 0.2); color: inherit; }
.eyebrow { margin-bottom: 18px; color: var(--accent); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.lead { max-width: 52ch; margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 54px; padding: 0 20px 0 22px;
  border: 1px solid var(--ink); border-radius: 980px; background: var(--ink); color: var(--white); text-decoration: none;
  font: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 160ms var(--ease-out);
}
.btn::after {
  content: ''; display: inline-block; flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform 300ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost::after { display: none; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
  .btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
  .btn-ghost:hover { background: var(--mist); border-color: var(--ink); }
  .btn:hover::after { transform: translateX(3px); }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.logo-word { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 200ms ease; }
.nav-links .nav-cta { padding: 8px 16px; border: 1px solid var(--accent); border-radius: 980px; background: var(--accent); color: var(--white); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.nav-cta):hover { color: var(--ink); }
  .nav-links .nav-cta:hover { background: var(--accent-2); border-color: var(--accent-2); }
}
.nav-toggle { display: none; }

/* ---------- Intro ---------- */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.hero-title { max-width: 15ch; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -0.035em; }
.hero-lead { max-width: 48ch; margin-top: 24px; color: var(--muted); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--muted); font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233d7a54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5 7 11l5-6'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Formular ---------- */
.card { padding: clamp(24px, 3vw, 36px); border-radius: clamp(20px, 2.6vw, 30px); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -48px rgba(0, 0, 0, 0.35); }
.form { display: grid; gap: 16px; }
.form-title { font-size: 26px; letter-spacing: -0.02em; }
.form-sub { margin-top: -8px; color: var(--muted); font-size: 16px; }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--white); color: var(--text); font: inherit; font-size: 16px; font-weight: 400;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 122, 84, 0.18); }
.hp { position: absolute; left: -9999px; }
.form-legal { color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-legal a, .prose a { color: var(--accent); }
.note { padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: 15px; line-height: 1.5; }
.note-ok { background: var(--accent-tint); color: var(--accent-2); }
.note-error { background: var(--error-bg); color: var(--error); }

/* ---------- Bereiche ---------- */
.block { padding: clamp(80px, 10vw, 136px) 0; }
.hero + .block { border-top: 1px solid var(--line); }
.block-mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-title { font-size: var(--h2); line-height: 1.06; letter-spacing: -0.03em; }
.section-sub { max-width: 44ch; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Geräte: Liste in zwei Spalten, durch feine Linien getrennt */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.service { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 20px; align-content: start; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.service > :not(.service-symbol) { grid-column: 2; }
.service-symbol { grid-row: 1 / span 2; width: 60px; height: 60px; padding: 15px; border-radius: 16px; background: var(--accent-tint); fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.service p { max-width: 46ch; margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.brands { max-width: 70ch; margin-top: 40px; color: var(--muted); font-size: 15px; }
.brands strong { color: var(--text); font-weight: 600; }

/* Ablauf als Zeitleiste */
.pr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.pr-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.pr-head .section-head { display: block; margin-bottom: 0; }
.pr-head .section-sub { margin-top: 16px; }
.pr-list { position: relative; }
.pr-list::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--accent); }
.pr-step { position: relative; padding: 0 0 clamp(40px, 5vw, 64px) 72px; }
.pr-step:last-child { padding-bottom: 0; }
.pr-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--accent); border-radius: 50%; background: var(--accent); color: var(--white); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-step h3 { padding-top: 8px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.pr-detail { max-width: 58ch; margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Bild + Text nebeneinander */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.media-ph { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 24px; border-radius: var(--radius); background: var(--mist); color: var(--muted); font-size: 15px; text-align: center; box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Hervorgehobene Fläche (Verwaltungen) */
.panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; padding: clamp(28px, 5vw, 64px); border-radius: clamp(20px, 2.6vw, 30px); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.panel > div { max-width: 640px; }

/* Häufige Fragen */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { display: block; margin-bottom: 0; }
.faq-layout .section-sub { margin-top: 20px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 1fr 44px; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color 250ms ease, border-color 250ms ease, transform 500ms var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: var(--text); transition: transform 500ms var(--ease-out), background-color 250ms ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { max-width: 60ch; margin-top: -6px; padding-bottom: 24px; color: var(--muted); font-size: 17px; line-height: 1.65; }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover .faq-icon { border-color: var(--ink); } }

/* Kontakt: dunkle Fläche */
.contact { padding: 0 0 clamp(64px, 9vw, 120px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 112px); align-items: start; padding: clamp(32px, 6vw, 88px); border-radius: clamp(24px, 3vw, 36px); background: var(--ink); color: var(--on-dark); }
.contact .section-title { max-width: 12ch; color: var(--on-dark); }
.contact .section-sub { max-width: 38ch; margin-top: 20px; color: var(--on-dark-soft); }
.contact-direct li { display: grid; gap: 2px; padding: 0 0 18px; font-size: 17px; }
.contact-direct span { color: var(--on-dark-soft); font-size: 14px; }
.contact-direct a { width: fit-content; color: var(--on-dark); font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--on-dark-line); transition: border-color 200ms ease; }
.contact-direct a:hover { border-color: var(--accent-soft); }
.contact :focus-visible { outline-color: var(--accent-soft); }

/* ---------- Startseite: grosses Bild oben ---------- */
.logo-mark { width: 40px; height: 40px; border-radius: 9px; }
.logo-text { display: grid; line-height: 1.1; }
.logo-sub { color: var(--muted); font-size: 11.5px; font-weight: 500; letter-spacing: 0; }
.hero-photo { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(78vh, 720px); padding: clamp(96px, 14vw, 160px) 0 clamp(150px, 16vw, 210px); color: var(--white); overflow: hidden; }
.hero-photo-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 20, 17, 0.82) 0%, rgba(17, 20, 17, 0.6) 45%, rgba(17, 20, 17, 0.15) 100%), linear-gradient(0deg, rgba(17, 20, 17, 0.5) 0%, rgba(17, 20, 17, 0) 40%); }
.hero-photo .hero-title { color: var(--white); }
.hero-photo .hero-lead { color: rgba(255, 255, 255, 0.86); }
.eyebrow-light { color: var(--accent-soft); }
.btn-light { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-light::after { display: none; }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: rgba(255, 255, 255, 0.24); border-color: var(--white); } }
.hero-photo :focus-visible { outline-color: var(--white); }

/* Formular überlappt das Bild, daneben die drei Schritte */
.request { position: relative; z-index: 2; margin-top: calc(-1 * clamp(110px, 12vw, 160px)); }
.request-inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.request .form { width: 100%; max-width: 820px; }
.mini-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.mini-steps li { display: inline-flex; align-items: center; gap: 10px; }
.mini-steps span { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Faktenleiste */
.facts-bar { padding: clamp(40px, 5vw, 64px) 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts-grid > div { display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid var(--accent); }
.facts-grid strong { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.facts-grid span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Geräte als Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: box-shadow 250ms ease, transform 250ms var(--ease-out); }
.tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tile-num { color: var(--muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile .service-symbol { width: 52px; height: 52px; padding: 13px; }
.tile h3 { font-size: 21px; }
.tile p { color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { box-shadow: 0 0 0 1px var(--accent), 0 24px 48px -32px rgba(0, 0, 0, 0.3); transform: translateY(-2px); }
  .tile:hover .work-more::after { transform: translateX(3px); }
}
.more { margin-top: 28px; }

/* Marken als Schrift-Kacheln */
.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.brand-grid li { display: grid; place-items: center; min-height: 76px; padding: 12px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; text-align: center; color: var(--ink-2); }

/* Bilder in Bereichen */
.split-img, .pr-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--mist); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.45); }
.pr-img { margin-top: 32px; }
.split-reverse > :first-child { order: 2; }
.ticks { display: grid; gap: 10px; margin: 24px 0 8px; }
.ticks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233d7a54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5 7 11l5-6'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Regionen */
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.regions li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: 17px; }
.region-code { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }

/* Seitenkopf mit Bild (Unterseiten) */
.page-head-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-head-media .page-title { max-width: 14ch; }

/* Produktfotos in den Geräte-Kacheln */
.tile { padding: 0 0 24px; overflow: hidden; }
.tile > :not(.tile-media) { margin-left: 24px; margin-right: 24px; }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 10px; background: #f5f2ee; overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px 0 0; mix-blend-mode: multiply; transition: transform 600ms var(--ease-out); }
.tile-num { position: absolute; left: 16px; top: 14px; padding: 4px 10px; border-radius: 980px; background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-media img { transform: scale(1.04); } }

/* Ersatzgerät-Box auf Geräteseiten */
.product-card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: clamp(20px, 2.6vw, 30px); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.product-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 16px; border-radius: var(--radius); background: #f5f2ee; mix-blend-mode: multiply; }
.product-card .section-title-sm { margin-bottom: 0; }

/* Offizielle Partner im Marken-Raster */
.brand-grid li.is-partner { gap: 4px; box-shadow: 0 0 0 2px var(--accent); color: var(--ink); }
.brand-grid li.is-partner span { color: var(--accent); font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; }

/* ---------- Unterseiten ---------- */
.nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--ink); }
.crumb { padding-top: 20px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb [aria-current] { color: var(--ink); }
.page-head { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 48px); }
.page-title { max-width: 18ch; font-size: var(--h1); line-height: 1.04; letter-spacing: -0.035em; }
.prose .page-title { max-width: none; font-size: clamp(34px, 4.4vw, 52px); }
.page-actions { margin-top: -8px; margin-bottom: clamp(24px, 4vw, 48px); }
.page-actions-end { margin: 0 auto clamp(48px, 6vw, 80px); }
.block-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-title-sm { margin-bottom: 28px; font-size: var(--h3); }
.split-top { align-items: start; }

/* Geräte als Links */
.service-link { display: block; padding: 0; }
.service-link a { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 20px; padding: 22px 0 24px; color: inherit; text-decoration: none; }
.service-link a > :not(.service-symbol) { grid-column: 2; }
.link-arrow { display: inline-block; width: 16px; height: 16px; margin-left: 8px; vertical-align: -1px; background: var(--accent); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service-link a:hover h3 { color: var(--accent); }
  .service-link a:hover .link-arrow { transform: translateX(3px); }
}

/* Drei Punkte nebeneinander, oben eine Linie */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.benefit { padding-top: 22px; border-top: 2px solid var(--accent); }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Checkliste mit Häkchen */
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding: 16px 18px 16px 52px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 17px; line-height: 1.5; }
.checklist li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233d7a54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5 7 11l5-6'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Marken */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 980px; background: var(--mist); font-weight: 600; font-size: 16px; }

/* Ratgeber-Übersicht */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.article { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: box-shadow 250ms ease, transform 250ms var(--ease-out); }
.article-meta { color: var(--accent); font-size: 14px; font-weight: 600; }
.article-title { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.article p { color: var(--muted); font-size: 16px; }
.work-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; color: var(--accent); font-size: 15px; font-weight: 600; }
.work-more::after { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .article:hover { box-shadow: 0 0 0 1px var(--line-strong), 0 24px 48px -32px rgba(0, 0, 0, 0.3); transform: translateY(-2px); }
  .article:hover .work-more::after { transform: translateX(3px); }
}

/* Offerte: Schritte kompakt, Häkchen im Formular */
.pr-compact .pr-step { padding-bottom: 32px; }
.pr-compact .pr-step h3 { font-size: 21px; }
.offer-faq { margin-top: 40px; }
.checks { display: flex; flex-wrap: wrap; column-gap: 18px; margin: 0; padding: 0; border: 0; }
.checks legend { width: 100%; }
.checks legend { margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
.checks input { width: 20px; height: 20px; accent-color: var(--accent); }

/* Textseiten (Impressum, Datenschutz) */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.prose p { margin-bottom: 12px; color: var(--muted); }
.prose .section-title { margin-bottom: 24px; }

/* ---------- Fusszeile ---------- */
.foot { flex-shrink: 0; padding: clamp(40px, 5vw, 64px) 0 28px; background: var(--mist); color: var(--muted); font-size: 15px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-strong); }
.foot-slogan { margin-top: 10px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: clamp(28px, 4vw, 44px) 0; }
.foot-h { margin-bottom: 12px; color: var(--ink); font-family: var(--font); font-size: 14px; font-weight: 600; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-soft { margin-top: 6px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: 13px; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); text-decoration: underline; }

/* Schnellkontakt unten (nur Handy) */
.mbar { display: none; }

/* Grosse Titel auf breiten Bildschirmen nicht trennen (auf dem Handy schon, wegen langer Wörter) */
@media (min-width: 700px) { .hero-title, .page-title, .section-title { hyphens: manual; } }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head-inner, .product-card { grid-template-columns: minmax(0, 1fr); }
  .product-card img { max-width: 360px; }
  .split-reverse > :first-child { order: 0; }
  .hero-inner, .split, .pr, .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .pr-head { position: static; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease-out), opacity 200ms ease; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; background: var(--white); overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 22px; font-weight: 600; }
  .nav-links .nav-cta { margin-top: 24px; padding: 16px; border-bottom: 0; text-align: center; font-size: 18px; }
  .services, .field-row, .foot-grid, .tiles { grid-template-columns: minmax(0, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-photo { min-height: 0; padding-top: 72px; }
  .hero-photo::before { background: linear-gradient(0deg, rgba(17, 20, 17, 0.88) 0%, rgba(17, 20, 17, 0.55) 60%, rgba(17, 20, 17, 0.35) 100%); }
  .logo-sub { display: none; }
  .faq-item summary { font-size: 18px; }
  .pr-step { padding-left: 60px; }
  .pr-list::before { left: 19px; }
  .pr-num { width: 40px; height: 40px; }
  /* Schnellkontakt bleibt unten sichtbar */
  body { padding-bottom: 60px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .mbar a { flex: 1; display: grid; place-items: center; min-height: 56px; color: var(--white); font-size: 15px; font-weight: 600; text-decoration: none; }
  .mbar a + a { border-left: 1px solid rgba(255, 255, 255, 0.16); }
  .mbar a:nth-child(2) { background: var(--accent); }
}

/* Weniger Bewegung, wenn im System eingestellt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
