/* Michael Mühlberger – Websites für KMU */

@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/newsreader.woff2?v=2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/geist.woff2?v=2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --papier: #f3f3ee;
  --papier-2: #e9eae3;
  --leinen: #ebe8df;
  --weiss: #fcfcfa;
  --tinte: #14201a;
  --tinte-2: #56615a;
  --tanne: #1f4a3c;
  --tanne-2: #2a5c4b;
  --tanne-tief: #17362c;
  --honig: #e3b23c;
  --linie: rgba(20, 32, 26, 0.12);
  --linie-stark: rgba(20, 32, 26, 0.32);
  --linie-hell: rgba(243, 243, 238, 0.18);
  --hell-2: rgba(243, 243, 238, 0.74);
  --rot: #b3261e;

  --titel: 'Newsreader', Georgia, serif;
  --text: 'Geist', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--titel);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.04; }
h3 { font-size: 1.45rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--tanne);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
}
.skip:focus { top: 12px; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primaer { background: var(--tanne); color: #fff; }
.btn-linie { border-color: var(--linie-stark); color: var(--tinte); }
.btn-klein { padding: 10px 18px; font-size: 0.94rem; white-space: nowrap; }
.btn-honig { background: var(--honig); color: var(--tinte); }
.btn-linie-hell { border-color: rgba(243, 243, 238, 0.4); color: var(--papier); }
.btn { transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.12s; }
.btn:active { transform: scale(0.98); }
@media (hover: hover) {
  .btn-primaer:hover { background: var(--tanne-2); }
  .btn-linie:hover { border-color: var(--tinte); }
  .btn-honig:hover { background: #ecc35c; }
  .btn-linie-hell:hover { border-color: var(--papier); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 243, 238, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, transform 0.35s ease;
}
.site-header.is-versteckt { transform: translateY(-100%); }
.site-header.is-scrolled { border-bottom-color: var(--linie); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
  margin-right: auto;
}
.wordmark-name {
  white-space: nowrap;
  font-family: var(--titel);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}
.wordmark-sub { font-size: 0.84rem; color: var(--tinte-2); margin-top: 2px; }
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none;
  font-weight: 450;
  font-size: 0.97rem;
  padding: 6px 0;
  background: linear-gradient(var(--honig), var(--honig)) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.3s ease;
}
@media (hover: hover) {
  .nav a:hover { background-size: 100% 1.5px; }
}
.nav a.is-aktiv { background-size: 100% 1.5px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 4.2vw, 3.7rem); line-height: 1.0; letter-spacing: -0.025em; }
.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.22rem);
  color: var(--tinte-2);
  max-width: 34em;
  margin: 24px 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
}
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tanne) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23e3b23c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.persoenlich {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--linie);
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--tinte-2);
  line-height: 1.35;
}
.persoenlich img { width: 52px; height: 52px; border-radius: 50%; }
.persoenlich b { display: block; color: var(--tinte); font-weight: 600; }

/* Vorher-nachher-Vergleich */
.compare { margin: 0; }
.browser {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(20, 32, 26, 0.55), 0 2px 6px rgba(20, 32, 26, 0.05);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 10px;
  background: var(--papier-2);
  border-bottom: 1px solid var(--linie);
}
.browser-url {
  flex: 1;
  max-width: 280px;
  margin: 0 auto;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--weiss);
  font-size: 0.78rem;
  color: var(--tinte-2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag {
  flex: none;
  transition: opacity 0.25s;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
}
.tag-vorher { background: rgba(20, 32, 26, 0.75); color: var(--papier); }
.tag-nachher { background: var(--honig); color: var(--tinte); }

.stage {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  container-type: inline-size;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.old, .new { position: absolute; inset: 0; }
.new { clip-path: inset(0 0 0 var(--pos)); }
.stage img { pointer-events: none; -webkit-user-drag: none; }
.compare figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--tinte-2);
}

.handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 48px;
  margin-left: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 32, 26, 0.15), 0 0 14px rgba(20, 32, 26, 0.3);
}
.handle-knob {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M17 15l-6 7 6 7M27 15l6 7-6 7' fill='none' stroke='%231f4a3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 44px no-repeat;
  box-shadow: 0 0 0 3px var(--honig), 0 6px 18px rgba(20, 32, 26, 0.35);
}
.compare[data-seite='vorher'] .tag-nachher,
.compare[data-seite='nachher'] .tag-vorher { opacity: 0.4; }
.handle-knob { transition: transform 0.15s; }
.stage.is-dragging .handle-knob { transform: scale(1.08); }
.handle-knob.is-hinweis { animation: hinweis 1.4s ease-out 2; }
@keyframes hinweis {
  0% { box-shadow: 0 0 0 3px var(--honig), 0 0 0 3px rgba(227, 178, 60, 0.6), 0 6px 18px rgba(20, 32, 26, 0.35); }
  100% { box-shadow: 0 0 0 3px var(--honig), 0 0 0 18px rgba(227, 178, 60, 0), 0 6px 18px rgba(20, 32, 26, 0.35); }
}
.handle:focus-visible { outline: none; }
.handle:focus-visible .handle-knob { box-shadow: 0 0 0 3px var(--honig), 0 0 0 6px var(--tinte); }

/* Vorher: Homepage von 2011 (Grössen in cqi, damit sie wie ein Bildschirmfoto mitskaliert) */
.old {
  display: flex;
  flex-direction: column;
  padding: 0 5cqi;
  background: #cfd3d6;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.5cqi;
  line-height: 1.35;
  color: #000;
}
.old-top {
  padding: 2.2cqi 2.4cqi;
  background: linear-gradient(#4f78be, #1c3f7d);
  color: #fff;
}
.old-logo {
  display: block;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 3.8cqi;
  text-shadow: 0.25cqi 0.25cqi 0 #000;
}
.old-slogan {
  display: block;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 1.9cqi;
  color: #ffe35a;
}
.old-nav {
  padding: 0.8cqi 2.4cqi;
  background: #e2e2e2;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #999;
  color: #00c;
}
.old-body {
  flex: 1;
  display: flex;
  gap: 2cqi;
  padding: 2cqi 2.4cqi;
  background: #fff;
}
.old-side {
  flex: none;
  width: 21cqi;
  align-self: flex-start;
  padding: 1.2cqi;
  background: #ffffc4;
  border: 1px dashed #c00;
  font-size: 1.35cqi;
}
.old-side b { color: #c00; }
.old-side p { margin: 0.8cqi 0 0; }
.old-main p { margin: 0 0 1.4cqi; }
.old-welcome {
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive;
  font-weight: bold;
  font-size: 3cqi;
  color: #d10000;
  text-align: center;
}
.old-img {
  width: 26cqi;
  height: 14cqi;
  margin: 0 auto 1.4cqi;
  display: grid;
  place-items: center;
  background: #ddd;
  border: 0.3cqi outset #f2f2f2;
  font-size: 1.25cqi;
  color: #666;
}
.old-main .old-bau { color: #e65c00; font-weight: bold; text-align: center; margin: 0; }
.old-foot {
  padding: 1cqi;
  background: #fff;
  border-top: 1px solid #999;
  font-size: 1.2cqi;
  color: #666;
  text-align: center;
}
.old-foot span { background: #000; color: #3f3; font-family: 'Courier New', monospace; padding: 0 0.4cqi; }

/* Nachher: dieselben Inhalte als hochwertige, moderne Website */
.new {
  display: flex;
  flex-direction: column;
  background: #f4efe7;
  color: #241a12;
  font-family: var(--text);
}
.new-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}
.new-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.new-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 15, 9, 0.82) 0%, rgba(22, 15, 9, 0.5) 42%, rgba(22, 15, 9, 0.06) 78%),
    linear-gradient(180deg, rgba(22, 15, 9, 0.5) 0%, rgba(22, 15, 9, 0) 28%);
}
.new-nav, .new-text { position: relative; z-index: 1; }
.new-nav {
  display: flex;
  align-items: center;
  gap: 3cqi;
  padding: 2.6cqi 4.5cqi;
}
.new-logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 1.3cqi;
  font-weight: 600;
  font-size: 2cqi;
  letter-spacing: -0.01em;
}
.new-logo i {
  width: 2cqi;
  height: 2cqi;
  border: 0.32cqi solid #e0b97e;
  transform: rotate(45deg);
}
.new-links { display: flex; gap: 3cqi; font-size: 1.45cqi; color: rgba(255, 255, 255, 0.82); }
.new-call {
  padding: 0.9cqi 2.2cqi;
  border-radius: 99px;
  background: #f4efe7;
  color: #241a12;
  font-size: 1.45cqi;
  font-weight: 600;
}
.new-burger { display: none; }
.new-text {
  margin: auto 0;
  padding: 0 4.5cqi 3cqi;
  max-width: 58cqi;
}
.new-kicker { margin: 0 0 1.6cqi; font-size: 1.45cqi; font-weight: 500; color: #e0b97e; }
.new-h {
  margin: 0;
  font-family: var(--titel);
  font-weight: 400;
  font-size: 5.6cqi;
  line-height: 1;
  letter-spacing: -0.025em;
}
.new-p {
  margin: 1.8cqi 0 2.8cqi;
  max-width: 40cqi;
  font-size: 1.7cqi;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}
.new-btns { display: flex; flex-wrap: wrap; gap: 1.2cqi; }
.nb {
  padding: 1.2cqi 2.4cqi;
  border-radius: 99px;
  font-size: 1.5cqi;
  font-weight: 600;
  white-space: nowrap;
}
.nb-1 { background: #e0b97e; color: #241a12; }
.nb-2 { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.nb, .new-call, .new-links span { transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
@media (hover: hover) {
  .nb-1:hover { background: #ecca94; }
  .nb-2:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
  .new-call:hover { background: #fff; }
  .new-links span:hover { color: #fff; }
}
@media (prefers-reduced-motion: no-preference) {
  .new-photo { animation: kenburns 24s ease-in-out infinite alternate; }
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07) translate(-1.2%, -0.8%); }
}
.new-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4cqi;
  padding: 2.4cqi 4.5cqi;
  background: #f4efe7;
}
.new-item { display: flex; align-items: center; gap: 1.6cqi; }
.new-item img {
  flex: none;
  width: 7.4cqi;
  height: 7.4cqi;
  border-radius: 0.9cqi;
  object-fit: cover;
}
.new-item span { display: grid; gap: 0.3cqi; line-height: 1.25; }
.new-item b { font-size: 1.5cqi; font-weight: 600; }
.new-item small { font-size: 1.25cqi; color: #7a6a5b; }

/* Auf dem Handy zeigt die neue Seite ihre Handy-Ansicht; die alte bleibt winzig, wie alte Seiten auf dem Handy */
@media (max-width: 640px) {
  .new-hero::after {
    background: linear-gradient(0deg, rgba(22, 15, 9, 0.88) 0%, rgba(22, 15, 9, 0.45) 55%, rgba(22, 15, 9, 0.35) 100%);
  }
  .new-nav { padding: 4.5cqi 5.5cqi; }
  .new-logo { font-size: 4.4cqi; gap: 2.4cqi; }
  .new-logo i { width: 3.6cqi; height: 3.6cqi; border-width: 0.6cqi; }
  .new-links, .new-call { display: none; }
  .new-burger { display: grid; gap: 1.4cqi; }
  .new-burger i { display: block; width: 6cqi; height: 0.6cqi; border-radius: 1cqi; background: #fff; }
  .new-text { margin: auto 0 0; padding: 0 5.5cqi 6cqi; max-width: none; }
  .new-kicker { font-size: 3.2cqi; margin-bottom: 2.4cqi; }
  .new-h { font-size: 10.6cqi; }
  .new-p { font-size: 3.6cqi; max-width: none; margin: 3cqi 0 4.5cqi; }
  .new-btns { gap: 2.4cqi; }
  .nb { font-size: 3.3cqi; padding: 2.6cqi 4.4cqi; }
  .new-band { gap: 3cqi; padding: 4.5cqi 5.5cqi; }
  .new-item { flex-direction: column; align-items: flex-start; gap: 2cqi; }
  .new-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 2cqi; }
  .new-item b { font-size: 2.9cqi; }
  .new-item small { display: none; }
}

/* Abschnitte */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-head { display: grid; gap: 16px; max-width: 46rem; }
.section-head p { color: var(--tinte-2); font-size: 1.1rem; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.split > h2 { position: sticky; top: calc(var(--header-h) + 32px); }

.versprechen { border-top: 1px solid var(--linie); }
.punkte {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 40px;
}
.punkt { border-top: 1px solid var(--linie-stark); padding-top: 22px; }
.punkt h3 { margin-bottom: 10px; }
.punkt p { color: var(--tinte-2); }

/* Ablauf */
.ablauf { background: var(--tanne-tief); color: var(--papier); }
.schritte {
  list-style: none;
  counter-reset: schritt;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding: 0;
  margin: 56px 0 0;
}
.schritt { counter-increment: schritt; }
.weg {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 28px 6px 14px;
  background: var(--honig);
  color: var(--tinte);
  font-size: 0.9rem;
  font-weight: 500;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.schritt h3 {
  font-size: 1.7rem;
  padding-top: 20px;
  margin-bottom: 10px;
  border-top: 1px solid var(--linie-hell);
}
.schritt h3::before {
  content: counter(schritt) '\2002';
  color: var(--honig);
}
.schritt p { color: var(--hell-2); }

/* Referenzen */
.refs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin-top: 48px;
}
.ref-bild {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--linie);
  background: var(--papier-2);
  box-shadow: 0 40px 70px -45px rgba(20, 32, 26, 0.5);
}
.ref-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.ref-bild { position: relative; }
.ref-bild img.is-lang {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  object-fit: fill;
  transition: transform 1.2s cubic-bezier(0.45, 0.05, 0.35, 1);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ref-bild:hover img.is-lang,
  .ref-bild:focus-visible img.is-lang {
    transform: translateY(var(--weg, 0));
    transition-duration: var(--dauer, 6s);
  }
  .ref-bild:hover img:not(.is-lang) { transform: scale(1.025); }
}
.ref h3 { margin: 26px 0 10px; font-size: 1.7rem; }
.ref p { color: var(--tinte-2); max-width: 34em; }
.ref-link {
  display: inline-block;
  margin-top: 4px;
  padding-bottom: 4px;
  font-weight: 500;
  color: var(--tanne);
  text-decoration: none;
  background:
    linear-gradient(var(--tanne), var(--tanne)) 0 100% / 0 2px no-repeat,
    linear-gradient(var(--honig), var(--honig)) 0 100% / 100% 2px no-repeat;
  transition: background-size 0.4s ease;
}
@media (hover: hover) {
  .ref-link:hover { background-size: 100% 2px, 100% 2px; }
}

/* Preise */
.preise { border-top: 1px solid var(--linie); }
.pakete {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border: 1px solid var(--linie);
  border-radius: 18px;
  background: var(--weiss);
  overflow: hidden;
}
.paket {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
}
/* Honig-Balken oben, wächst beim Überfahren von links; überdeckt die Trennlinie zum Nachbarpaket */
.paket::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  right: 0;
  height: 3px;
  background: var(--honig);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.paket:first-child::before { left: 0; }
@media (hover: hover) {
  .paket:hover::before { transform: scaleX(1); }
}
.paket + .paket { border-left: 1px solid var(--linie); }
.paket h3 { font-size: 1.8rem; }
.paket-fuer { margin: 6px 0 20px; color: var(--tinte-2); font-size: 0.98rem; min-height: 3.2em; }
.preis {
  font-variant-numeric: lining-nums;
  font-family: var(--titel);
  font-weight: 450;
  font-size: clamp(2.6rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.preis span { font-family: var(--text); font-size: 0.34em; font-weight: 500; letter-spacing: 0; vertical-align: 0.3em; margin-right: 4px; }
.paket ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.98rem; }
.paket li { display: flex; gap: 12px; }
.paket li::before {
  content: '';
  flex: none;
  width: 12px;
  height: 1px;
  margin-top: 0.8em;
  background: var(--tanne);
}
.paket-empfohlen { background: var(--tanne); color: var(--papier); }
.paket-empfohlen + .paket { border-left-color: transparent; }
.paket-empfohlen .paket-fuer { color: var(--hell-2); }
.paket-empfohlen li::before { background: var(--honig); }
.empfohlen {
  position: absolute;
  top: clamp(28px, 3vw, 40px);
  right: clamp(28px, 3vw, 40px);
  margin: 0;
  padding: 3px 12px;
  background: var(--honig);
  color: var(--tinte);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
}

.pflege {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(64px, 7vw, 96px);
}
.pflege-intro h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.pflege-intro p { color: var(--tinte-2); }
.pflege-plaene { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.plan { border-top: 1px solid var(--linie-stark); padding-top: 20px; }
.plan-empfohlen { border-top: 3px solid var(--honig); padding-top: 18px; }
.plan h4 { font-family: var(--text); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.plan-tag {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--honig);
}
.plan-preis {
  font-variant-numeric: lining-nums;
  font-family: var(--titel);
  font-weight: 450;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.plan-preis span { font-family: var(--text); font-weight: 400; font-size: 0.95rem; letter-spacing: 0; color: var(--tinte-2); }
.plan p:last-child { color: var(--tinte-2); font-size: 0.97rem; }

.zusatz { margin-top: clamp(56px, 6vw, 80px); }
.zusatz h3 { font-size: 1.5rem; margin-bottom: 16px; }
.zusatz dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 32px;
  margin: 0;
}
.zusatz dl div { border-top: 1px solid var(--linie); padding: 14px 0; }
.zusatz dt { font-weight: 500; }
.zusatz dd { margin: 0; color: var(--tinte-2); }

/* Über mich */
.ueber { background: var(--leinen); }
.ueber-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 18px;
}
.ueber-text h2 { margin-bottom: 24px; }
.ueber-text p { max-width: 36em; font-size: 1.12rem; }

/* Fragen */
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--titel);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  background:
    linear-gradient(var(--tanne), var(--tanne)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--tanne), var(--tanne)) center / 1.5px 14px no-repeat;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--tinte-2); max-width: 40em; }

/* Kontakt */
.kontakt { background: var(--tanne-tief); color: var(--papier); }
.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.kontakt-intro > p { margin: 20px 0 36px; color: var(--hell-2); font-size: 1.15rem; max-width: 26em; }
.direkt { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linie-hell); }
.direkt li { border-bottom: 1px solid var(--linie-hell); }
.direkt a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  text-decoration: none;
  font-weight: 500;
}
.direkt a::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5L10.5 8 6 12.5' fill='none' stroke='%23e3b23c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.25s ease;
}
@media (hover: hover) {
  .direkt a:hover::after { opacity: 1; transform: none; }
}
.direkt-art { width: 92px; flex: none; font-weight: 400; color: rgba(243, 243, 238, 0.6); }
@media (hover: hover) {
  .direkt a:hover { color: var(--honig); }
}

.form-karte {
  padding: clamp(24px, 3vw, 40px);
  border-radius: 18px;
  background: var(--papier);
  color: var(--tinte);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.6);
}
.form-teil {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-teil[hidden] { display: none; }
.field { display: grid; gap: 6px; align-content: start; }
.field-voll { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.97rem; }
.optional { font-weight: 400; color: var(--tinte-2); font-size: 0.88rem; margin-left: 4px; }
.field input:not([type='checkbox']), .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(20, 32, 26, 0.22);
  border-radius: 10px;
  background: var(--weiss);
  color: var(--tinte);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:not([type='checkbox']):focus, .field textarea:focus {
  outline: none;
  border-color: var(--tanne);
  box-shadow: 0 0 0 3px rgba(227, 178, 60, 0.45);
}
.field-error { display: none; margin: 0; color: var(--rot); font-size: 0.9rem; }
.field.is-invalid input { border-color: var(--rot); }
.field.is-invalid .field-error { display: block; }
.form-ende { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.form-hinweis { flex: 1 1 260px; margin: 0; font-size: 0.9rem; color: var(--tinte-2); }
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--papier-2);
  font-weight: 500;
}
.form-status.is-error { background: #f7e1df; color: var(--rot); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Footer */
.footer { background: var(--tinte); color: rgba(243, 243, 238, 0.7); padding: 28px 0; font-size: 0.95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; }
.footer p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer a { text-decoration: none; }
@media (hover: hover) {
  .footer a:hover { color: var(--honig); }
}

/* Referenzen: Fantasia gross */
.ref-gross {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  margin-top: 48px;
}
.ref-art { margin: 26px 0 0; font-size: 0.9rem; color: var(--tinte-2); }
.ref-gross .ref-art { margin-top: 0; }
.ref .ref-art + h3 { margin-top: 6px; }
.ref-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--honig);
  color: var(--tinte);
  font-size: 0.76rem;
  font-weight: 500;
  vertical-align: 1px;
}
.ref-gross h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 14px; }
.refs { margin-top: clamp(56px, 6vw, 88px); }
.refs .ref h3 { font-size: 1.5rem; }
@media (max-width: 1020px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Zusage nach den Preisen */
.zusage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-top: clamp(56px, 6vw, 80px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 18px;
  background: var(--tanne-tief);
  color: var(--papier);
}
.zusage h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 8px; }
.zusage p { color: var(--hell-2); max-width: 34em; }

/* Gruss mit Unterschrift */
.gruss { margin-top: 32px; }
.gruss p:first-child { margin-bottom: 6px; }
.signatur { width: 210px; height: auto; margin: 2px 0 0 -6px; }
@media (prefers-reduced-motion: no-preference) {
  .signatur.zeichnen { clip-path: inset(0 100% 0 0); }
  .signatur.zeichnen.is-gezeichnet {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.6s cubic-bezier(0.65, 0.05, 0.36, 1) 0.2s;
  }
}
.gruss-name { font-size: 0.95rem; font-weight: 500; color: var(--tinte-2); }

/* Kontakt: So geht es weiter, Formular in zwei Schritten */
.danach { list-style: none; counter-reset: danach; display: grid; gap: 14px; padding: 0; margin: 0 0 40px; }
.danach li { counter-increment: danach; display: flex; align-items: center; gap: 14px; }
.danach li::before {
  content: counter(danach);
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--honig);
  border-radius: 50%;
  color: var(--honig);
  font-size: 0.86rem;
  font-weight: 500;
}
.form-kopf {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linie);
  font-size: 0.92rem;
  color: var(--tinte-2);
}
.form-schritt { display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.form-schritt i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--linie-stark);
  border-radius: 50%;
  font-style: normal;
  font-size: 0.8rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.form-schritt.is-aktiv { color: var(--tinte); font-weight: 500; }
.form-schritt.is-aktiv i { background: var(--tanne); border-color: var(--tanne); color: #fff; }
.form-schritt.is-fertig i { background: var(--honig); border-color: var(--honig); color: var(--tinte); }
.field .check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--tinte-2);
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--tanne); }
.form-teil.is-neu { animation: teil 0.35s ease both; }
@keyframes teil { from { opacity: 0; transform: translateX(12px); } }
.form-status { margin-top: 16px; }
.form-danke-bild { width: 64px; height: 64px; border-radius: 50%; }
.form-danke h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 20px 0 10px; }
.form-danke p { color: var(--tinte-2); max-width: 30em; }
.form-danke:focus { outline: none; }
.form-danke:not([hidden]) { animation: teil 0.4s ease both; }

/* Handy-Leiste */
.mobil-leiste { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Einstieg im Hero und weich aufklappende Fragen */
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .hero-text > *, .compare { animation: einstieg 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-text > :nth-child(3) { animation-delay: 0.16s; }
  .hero-text > :nth-child(4) { animation-delay: 0.24s; }
  .hero-text > :nth-child(5) { animation-delay: 0.32s; }
  .compare { animation-delay: 0.18s; animation-duration: 1.1s; }
  .faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}
@keyframes einstieg { from { opacity: 0; transform: translateY(16px); } }

/* Rechtstexte */
.recht { padding: clamp(48px, 7vw, 96px) 0; }
.recht .container { max-width: calc(760px + 2 * var(--gutter)); }
.recht h1 { font-size: clamp(2.4rem, 4.4vw, 3.4rem); margin-bottom: 32px; }
.recht h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.recht p, .recht li { color: var(--tinte-2); }
.recht address { font-style: normal; color: var(--tinte); }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { max-width: 640px; }
  .split { grid-template-columns: 1fr; }
  .split > h2 { position: static; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pflege { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav { display: none; }
}
@media (max-width: 860px) {
  .ref-gross { grid-template-columns: 1fr; }
  .pakete { grid-template-columns: 1fr; }
  .paket + .paket { border-left: 0; border-top: 1px solid var(--linie); }
  .paket::before { left: 0; top: -1px; }
  .paket:first-child::before { top: 0; }
  .paket-empfohlen + .paket { border-top-color: transparent; }
  .paket-fuer { min-height: 0; }
  .ueber-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
}
@media (max-width: 760px) {
  /* Referenzen: auf dem Handy Kategorie und Titel über dem Bild, damit klar ist, was zusammengehört */
  .ref, .ref-gross { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ref-bild { width: 100%; }
  .ref-gross .ref-text { display: contents; }
  .ref .ref-art { order: 1; margin: 0; }
  .ref h3 { order: 2; margin: 6px 0 18px; }
  .ref-bild { order: 3; }
  .ref p:not(.ref-art) { order: 4; margin: 20px 0 0; }
  .ref-link { order: 5; align-self: flex-start; margin-top: 14px; }
  .refs { gap: 72px; margin-top: 72px; }
  .pflege-plaene { grid-template-columns: 1fr; }
  .punkte { grid-template-columns: 1fr; gap: 36px; }
  .refs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mobil-leiste {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(23, 54, 44, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }
  .mobil-leiste.is-sichtbar { transform: none; }
  .mobil-leiste .btn { flex: 1; padding: 12px 14px; font-size: 0.95rem; }
  .mobil-leiste .btn-linie-hell { flex: 0 0 auto; }
  .footer { padding-bottom: calc(28px + 64px + env(safe-area-inset-bottom)); }
  body { font-size: 1.03rem; }
  .header-inner { min-height: 64px; gap: 12px; }
  .wordmark-name { font-size: 1.22rem; }
  .wordmark-sub { font-size: 0.8rem; }
  .btn-klein { padding: 9px 14px; font-size: 0.88rem; }
  .stage { aspect-ratio: 4 / 5; }
  .schritte { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .weg { margin-bottom: 16px; }
  .form-teil { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.2rem; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 360px) {
  .wordmark-sub { display: none; }
  .wordmark-name { font-size: 1.1rem; }
}
