/* ============================================================================
   Relaunch 2027 – additive Overrides (kein SCSS-Build, rein ergaenzend).
   Uebersetzt das Claude-Design-Mockup „Startseite Feinschliff" in klassen-
   basiertes CSS. Fonts = echte Theme-Fonts (Albra/Muli/Desyrel), keine
   externen Requests. Farben = Design-Werte als CSS-Variablen.
   Namespace der neuen Sektionen: .r27-*
   ============================================================================ */

:root {
  --r27-ink:        #2E2D29;  /* Anthrazit-Text */
  --r27-ink-soft:   #56534A;  /* gedaempfter Fliesstext */
  --r27-ink-faint:  #86816F;  /* Meta/Labels */
  --r27-ink-black:  #14140F;  /* fast schwarz (Hover) */
  --r27-blue:       #9FB6C7;  /* staubiges Blau (Panels/Strecken/Kontakt) */
  --r27-blue-panel: #A1B7C7;  /* Textpanel-Blau */
  --r27-olive:      #83805A;  /* Oliv-CTA */
  --r27-cream:      #ECE6D8;  /* Creme-Panel (Ansatz/FAQ) */
  --r27-paper:      #F6F3EC;  /* helles Papier (Karten/Formular) */
  --r27-paper-2:    #F3EFE7;
  --r27-line:       #D8D2C4;  /* Trennlinien hell */
  --r27-line-cream: #C9C2B0;  /* Trennlinien auf Creme */
  --r27-deco:       #6E6B47;  /* Scribble-Oliv */
  --r27-footer-bg:  #17170F;
  --r27-radius:     2px;
  --r27-inset:      26px;     /* seitlicher Panel-Einzug */
  --r27-maxw:       1180px;
  --r27-serif:      'Albra', 'Times New Roman', Times, serif;
  --r27-sans:       'General Sans', 'Muli', Arial, Helvetica, sans-serif;
  --r27-deco-font:  'Desyrel', 'Muli', cursive;
}

/* ---------------------------------------------------------------------------
   Reveal-Signatur: Fade-in + sanftes Nach-oben-Wuppeln.
   Scroll-driven, wo unterstuetzt; sonst statisch sichtbar. Reduced-Motion aus.
   --------------------------------------------------------------------------- */
@keyframes r27Rise {
  from { opacity: 0; transform: translateY(30px); }
  70%  { opacity: 1; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes r27Scribble {
  from { clip-path: inset(-15% 100% -15% -2%); }
  to   { clip-path: inset(-15% -4% -15% -2%); }
}
/* Reveal wie die alte Seite: Inhalt kommt von unten, kurze Verzögerung, wuppt hoch.
   Früher animation-timeline: view() (nur Chromium) — jetzt JS-getriggert (initReveal,
   IntersectionObserver) → läuft überall (Safari/Firefox). [data-reveal] steht im Markup,
   also serverseitig versteckt = kein Flash. Bei reduced-motion / ohne JS: sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .r27 [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 5vh, 0);
    transition: transform 1100ms cubic-bezier(.16, 1, .3, 1) 150ms, opacity 900ms ease 200ms;
    will-change: transform, opacity;
  }
  .r27 [data-reveal].is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Handschrift-Zeichnen der Kicker (echtes SVG-Stroke-Draw, cross-browser via JS) -
   Pro Buchstaben-Kontur ein Pen-Pfad (pathLength=1, --d = x-Startposition 0..1),
   die von links nach rechts gestaffelt gezeichnet werden; der gefuellte Gesamt-Pfad
   wird per clip-path in gleicher Richtung "eingetuscht". Ohne JS / bei reduced-motion
   bleibt der Fill sichtbar (kein Flash). Markup: r27_scribble() in r27-helpers.php. */
.r27-scribble { display: inline-block; line-height: 0; }
.r27-scribble-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.r27-scribble-svg  { display: block; height: 1.25em; width: auto; overflow: visible; }
.r27-scribble-fill { fill: currentColor; }
.r27-scribble-pen  { fill: none; stroke: currentColor; stroke-width: 1.4px; opacity: 0; }
/* Ausgangszustand nur wenn JS "armiert" hat (ohne JS bleibt der Fill sichtbar) */
.r27-scribble.is-armed .r27-scribble-fill { clip-path: inset(-25% 100% -25% -8%); }
.r27-scribble.is-armed .r27-scribble-pen  { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.r27-scribble.is-armed.is-drawn .r27-scribble-pen {
  animation: r27PenDraw .55s linear forwards;
  animation-delay: calc(var(--d, 0) * 1000ms);
}
.r27-scribble.is-armed.is-drawn .r27-scribble-fill {
  animation: r27InkReveal 1.35s cubic-bezier(.65, 0, .35, 1) forwards;
}
@keyframes r27PenDraw   { to { stroke-dashoffset: 0; } }
@keyframes r27InkReveal { to { clip-path: inset(-25% -8% -25% -8%); } }
@media (prefers-reduced-motion: reduce) {
  .r27-scribble.is-armed .r27-scribble-fill { clip-path: none; }
  .r27-scribble.is-armed .r27-scribble-pen  { opacity: 0; }
}

/* Header: fluide Höhe statt Breakpoint-Sprung (2026-07-06) -------------------
   Original: --v-space-xl = 120px (mobil) -> 180px (ab 624px) = harter Sprung.
   clamp() skaliert stufenlos: ~80px auf schmalem Handy, ab ~1040px konstant 180px
   (Desktop bleibt wie gehabt). Beim Fensterziehen gleitet es, statt zu springen.
   Logo/Nav/Burger sind per top:50% zentriert -> passen sich automatisch an. */
/* Body-Schrift sitewide auf General Sans (war Muli; General Sans ist geladen,
   moderner, laut Design-Intent „überall"). Headlines bleiben Albra (eigene Regeln).
   Überschreibt die kompilierte body{font-family:Muli}-Regel (späteres <link>). */
body { font-family: 'General Sans', 'Muli', Arial, Helvetica, sans-serif; }

/* Gemeinsame Bausteine der neuen Sektionen ---------------------------------- */
.r27 { color: var(--r27-ink); }
.r27 .r27-wrap { max-width: var(--r27-maxw); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.r27 .r27-panel-inset { margin: 0 var(--r27-inset); border-radius: var(--r27-radius); }

.r27-kicker {
  font-family: var(--r27-deco-font);
  font-size: 24px;
  color: var(--r27-deco);
  transform: rotate(-1.5deg);
  width: fit-content;
  margin: 0 0 10px 0;
}
.r27 h2.r27-h { font-family: var(--r27-serif); font-weight: 400; line-height: 1.12; margin: 0; }
.r27 h3.r27-h { font-family: var(--r27-serif); font-weight: 400; line-height: 1.2; margin: 0; }

/* Editorialer Button, konsistent zum Bestand (Pill, hebt beim Hover an) */
.r27 .r27-btn {
  display: inline-block; background: var(--r27-ink); color: var(--r27-paper);
  text-decoration: none; font-family: var(--r27-sans); font-size: 14px;
  letter-spacing: .06em; padding: 14px 28px; border-radius: 999px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s;
}
.r27 .r27-btn:hover { transform: translateY(-3px); background: var(--r27-ink-black); }
.r27 .r27-btn--light { background: var(--r27-paper-2); color: var(--r27-ink); }

/* Bild-Fokus beim Hover (sanfter Schaerfe-/Scale-Effekt) */
.r27 .r27-focus { transition: filter .8s ease, transform .8s cubic-bezier(.22,1,.36,1); filter: saturate(.97); }
.r27 .r27-focus:hover { filter: saturate(1.07) contrast(1.05); transform: scale(1.02); }

/* ---------------------------------------------------------------------------
   Foto-Stapel zum Durchblaettern (Passepartout-Karten, JS: lib/js/custom-2026.js)
   --------------------------------------------------------------------------- */
.r27-stack { position: relative; cursor: pointer; }
.r27-stack-card {
  position: absolute; inset: 0; background: #fff; padding: 14px 14px 0 14px;
  box-shadow: 0 24px 50px -22px rgba(31,30,25,.4);
  transition: transform .65s cubic-bezier(.34,1.4,.5,1);
}
.r27-stack-card > .r27-stack-img { overflow: hidden; }
.r27-stack-card img { display: block; width: 100%; object-fit: cover; filter: saturate(.97) contrast(.99); }
.r27-stack-cap {
  font-family: var(--r27-deco-font); font-size: 21px; color: #4A4738;
  padding: 12px 0 14px 0; text-align: center;
}
.r27-stack-hint {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 26px; padding: 0 6px;
}
.r27-stack-hint .hint {
  font-family: var(--r27-deco-font); font-size: 22px; color: var(--r27-deco);
  transform: rotate(-2deg);
}
.r27-stack-hint .pos { font-size: 13px; color: var(--r27-ink-faint); letter-spacing: .08em; }

/* ===========================================================================
   V1 · AESTHETIK — Foto-Stapel bricht aus der Spalte, farbiges Textpanel
   =========================================================================== */
.r27-aesthetik { position: relative; max-width: var(--r27-maxw); margin: 0 auto; padding: 130px 40px 110px; }
.r27-aesthetik .r27-aesthetik-head {
  font-family: var(--r27-serif); font-weight: 400; font-size: clamp(34px,4.4vw,54px);
  line-height: 1.12; margin: 0 0 64px 0; max-width: 24ch;
}
.r27-aesthetik .r27-aesthetik-grid {
  display: grid; grid-template-columns: 390px 1fr; gap: 0; align-items: center;
}
/* Feste Stapel-Breite: negatives margin blaeht sonst die Grid-Spalte auf 460px
   (Bilder zu hoch -> Bildunterschriften laufen ueber). Overlap via Panel-Margin. */
.r27-aesthetik .r27-aesthetik-stackcol { position: relative; z-index: 2; width: 390px; }
.r27-aesthetik .r27-stack { height: 360px; }
.r27-aesthetik .r27-stack-card img { aspect-ratio: 4/3; }
.r27-aesthetik .r27-panel {
  margin-left: -60px; padding: 70px 72px 70px 100px; border-radius: var(--r27-radius);
  background-color: var(--r27-blue-panel);
}
.r27-aesthetik .r27-panel p { margin: 0 0 18px 0; }
.r27-aesthetik .r27-panel p:last-child { margin-bottom: 0; }
.r27-aesthetik .r27-panel em.feel { font-family: var(--r27-serif); font-size: 19px; font-style: italic; }
.r27-aesthetik .r27-btn { margin-top: 40px; }

/* ===========================================================================
   V3 · CLAIM — editorialer Claim, zentriert
   =========================================================================== */
.r27-claim { position: relative; }
.r27-claim--center { max-width: 1000px; margin: 0 auto; padding: 80px 40px 60px; text-align: center; }
.r27-claim--center .r27-kicker { margin: 0 auto 16px; }
.r27-claim-text {
  font-family: var(--r27-serif); font-weight: 400; font-size: clamp(34px,5vw,58px);
  line-height: 1.12; margin: 0;
}
.r27-claim-text em { font-style: italic; }
.r27-claim-sub { max-width: 52ch; margin: 26px auto 0; color: var(--r27-ink-soft); }

/* CLAIM auf Bildgrund (Vollbild + Textakzent) */
.r27-claim--image { margin: 60px 0 0 0; }
.r27-claim--image .r27-claim-media {
  position: relative; height: 78vh; min-height: 420px; overflow: hidden;
  margin: 0 var(--r27-inset); border-radius: var(--r27-radius);
}
.r27-claim--image .r27-claim-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r27-claim--image .r27-claim-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(15deg, rgba(15,14,11,.55) 0%, rgba(15,14,11,.05) 55%);
}
.r27-claim--image .r27-claim-body {
  position: absolute; left: 70px; bottom: 64px; color: var(--r27-paper); max-width: 620px;
}
.r27-claim--image .r27-claim-body p.big {
  font-family: var(--r27-serif); font-weight: 400; font-size: clamp(30px,4vw,46px);
  line-height: 1.18; margin: 0 0 14px 0;
}
.r27-claim--image .r27-claim-body p.small {
  margin: 0; font-size: 16px; color: rgba(246,243,236,.85); max-width: 44ch;
}

/* ===========================================================================
   STRECKEN — Bestand (.taxonomies) mit verwobenem Intro (2 Spalten + Foto)
   =========================================================================== */
.taxonomies--stories.taxonomies--intro .stories-lead {
  display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: start; margin-bottom: 60px;
}
.taxonomies--stories.taxonomies--intro .stories-lead .lead-text h2 { margin: 0 0 26px 0; max-width: 18ch; }
.taxonomies--stories.taxonomies--intro .stories-lead .lead-photo {
  justify-self: end; width: 300px; background: #fff; padding: 10px 10px 12px;
  box-shadow: 0 20px 44px -20px rgba(20,30,40,.5); transform: rotate(1.8deg); margin-top: 14px;
}
.taxonomies--stories.taxonomies--intro .stories-lead .lead-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.taxonomies--stories.taxonomies--intro .stories-lead .lead-photo .cap {
  font-family: var(--r27-deco-font); font-size: 20px; color: #4A4738; margin-top: 10px; text-align: center;
}
@media (max-width: 900px) {
  .taxonomies--stories.taxonomies--intro .stories-lead { grid-template-columns: 1fr; gap: 32px; }
  .taxonomies--stories.taxonomies--intro .stories-lead .lead-photo { justify-self: start; }
}

/* ===========================================================================
   V4 · ARBEITSORTE — schmale Textspalte (SEO-Liste) + Foto-Stapel (Diptychon)
   =========================================================================== */
.r27-orte { position: relative; max-width: var(--r27-maxw); margin: 0 auto; padding: 100px 40px 40px; }
.r27-orte .r27-orte-grid { display: grid; grid-template-columns: 380px 1fr; gap: 90px; align-items: start; }
.r27-orte .r27-orte-head { font-size: clamp(32px,3.6vw,44px); margin: 0 0 24px 0; }
.r27-orte .r27-orte-text p { margin: 0 0 16px 0; }
.r27-orte .r27-orte-text p:last-of-type { margin-bottom: 32px; }
.r27-orte-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r27-line); }
.r27-orte-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 2px; border-bottom: 1px solid var(--r27-line); gap: 16px;
}
.r27-orte-list li .label { font-family: var(--r27-serif); font-size: 19px; }
.r27-orte-list li .hint { font-size: 13px; color: var(--r27-ink-faint); }
.r27-orte .r27-orte-photo { padding-top: 60px; justify-self: center; width: 340px; }
.r27-orte .r27-stack { height: 478px; }
.r27-orte .r27-stack-card img { aspect-ratio: 3/4; }

/* ===========================================================================
   OLIV-CTA — gestrafft, zentriert (NEU als eigener Block moeglich)
   =========================================================================== */
.r27-cta { background: var(--r27-olive); padding: 90px 40px; margin: 0 var(--r27-inset); border-radius: var(--r27-radius); }
.r27-cta .inner { max-width: 760px; margin: 0 auto; text-align: center; color: var(--r27-paper-2); }
.r27-cta h2 { font-family: var(--r27-serif); font-weight: 400; font-size: clamp(30px,3.5vw,42px); line-height: 1.15; margin: 0 0 20px 0; }
.r27-cta p { margin: 0 0 30px 0; color: rgba(243,239,231,.88); }

/* ===========================================================================
   V6 · ABLAUF — ruhige Schritt-Folge (NEU)
   =========================================================================== */
.r27-ablauf { position: relative; max-width: var(--r27-maxw); margin: 0 auto; padding: 96px 40px 80px; }
.r27-ablauf .r27-ablauf-grid { display: grid; grid-template-columns: 380px 1fr; gap: 90px; align-items: start; }
.r27-ablauf .r27-ablauf-aside { position: sticky; top: 60px; }
.r27-ablauf .r27-ablauf-head { font-size: clamp(32px,3.6vw,44px); margin: 0 0 22px 0; }
.r27-ablauf .r27-ablauf-aside p { margin: 0 0 14px 0; }
.r27-ablauf .r27-ablauf-aside .price { margin: 0; color: var(--r27-ink-soft); font-size: 15px; }
.r27-steps { list-style: none; margin: 0; padding: 0; }
.r27-step { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--r27-line); }
.r27-step:last-child { border-bottom: none; }
.r27-step .num { font-family: var(--r27-serif); font-size: 34px; color: #A8A47C; }
.r27-step h3 { font-family: var(--r27-serif); font-weight: 400; font-size: 24px; margin: 0 0 8px 0; }
.r27-step p { margin: 0; color: var(--r27-ink-soft); }
.r27 mark.r27-todo { background: rgba(168,164,124,.25); padding: 0 4px; }

/* ===========================================================================
   V5 · MEIN ANSATZ — versetzte Text-Bild-Kolumne, ausgebaut (NEU/erweitert)
   =========================================================================== */
.r27-ansatz { position: relative; background: var(--r27-blue-panel); padding: 100px 40px 90px; overflow: hidden; margin: 0 var(--r27-inset); border-radius: var(--r27-radius); }
.r27-ansatz .inner { max-width: var(--r27-maxw); margin: 0 auto; }
.r27-ansatz .r27-ansatz-head { max-width: 900px; margin: 0 auto 60px; }
.r27-ansatz .r27-ansatz-head h2 { font-size: clamp(34px,4vw,48px); line-height: 1.1; }
.r27-ansatz .r27-ansatz-body { max-width: 900px; margin: 0 auto; }
.r27-ansatz .r27-ansatz-figure {
  float: right; width: 300px; margin: 6px 0 26px 48px; background: #fff; padding: 10px 10px 0;
  box-shadow: 0 18px 40px -20px rgba(31,30,25,.4); transform: rotate(1.8deg);
}
.r27-ansatz .r27-ansatz-figure img,
.r27-ansatz .r27-ansatz-figure video { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.r27-ansatz .r27-ansatz-figure .cap { font-family: var(--r27-deco-font); font-size: 21px; color: #4A4738; padding: 10px 0 12px; text-align: center; }
.r27-ansatz .lead { font-family: var(--r27-serif); font-size: 24px; line-height: 1.5; margin: 0 0 26px 0; }
.r27-ansatz .lead em { font-style: italic; }
.r27-ansatz .r27-ansatz-body p { margin: 0 0 18px 0; }
.r27-backstory { background: var(--r27-paper-2); border-radius: var(--r27-radius); padding: 30px 34px; margin: 14px 0 32px; }
.r27-backstory .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--r27-ink-faint); margin-bottom: 12px; }
.r27-backstory p { margin: 0; color: var(--r27-ink-soft); }
@media (max-width: 760px) { .r27-ansatz .r27-ansatz-figure { float: none; width: 100%; max-width: 320px; margin: 0 0 24px; } }

/* ===========================================================================
   UEBER MICH — Bestand, kompakt angebunden (Bild + Text)
   =========================================================================== */
.r27-about { max-width: var(--r27-maxw); margin: 0 auto; padding: 90px 40px 40px; }
.r27-about .grid { display: grid; grid-template-columns: 360px 1fr; gap: 90px; align-items: center; }
.r27-about .photo { background: #fff; padding: 12px 12px 44px; box-shadow: 0 24px 50px -22px rgba(31,30,25,.4); transform: rotate(-1.8deg); }
.r27-about .photo .imgwrap { overflow: hidden; }
.r27-about .photo img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.r27-about .photo .cap { font-family: var(--r27-deco-font); font-size: 22px; color: #4A4738; margin-top: 12px; text-align: center; }
.r27-about .r27-about-head { font-size: clamp(32px,3.6vw,44px); margin: 0 0 22px 0; }
.r27-about .body p { margin: 0 0 16px 0; }
.r27-about .body p:last-of-type { margin-bottom: 28px; }

/* ===========================================================================
   TESTIMONIALS — ruhig, zweispaltig
   =========================================================================== */
.r27-testimonials { max-width: var(--r27-maxw); margin: 0 auto; padding: 20px 40px 90px; }
.r27-testimonials .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid var(--r27-line); padding-top: 56px; }
.r27-quote { margin: 0; position: relative; padding-top: 30px; }
.r27-quote .mark { position: absolute; top: -18px; left: -6px; font-family: var(--r27-serif); font-size: 90px; line-height: 1; color: #DCD5C5; }
.r27-quote blockquote { margin: 0 0 18px 0; font-family: var(--r27-serif); font-weight: 400; font-size: 24px; line-height: 1.45; color: #3B3A33; }
.r27-quote figcaption { font-size: 14px; color: var(--r27-ink-faint); }
@media (max-width: 760px) { .r27-testimonials .grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===========================================================================
   FAQ — <details>-Akkordeon (NEU)
   =========================================================================== */
.r27-faq { position: relative; background: var(--r27-cream); padding: 90px 40px; margin: 0 var(--r27-inset); border-radius: var(--r27-radius); }
.r27-faq .inner { max-width: 860px; margin: 0 auto; }
.r27-faq .r27-faq-head { font-size: clamp(32px,3.6vw,44px); margin: 0 0 14px 0; }
.r27-faq .r27-faq-intro { margin: 0 0 44px 0; color: var(--r27-ink-soft); }
.r27-faq-item { border-top: 1px solid var(--r27-line-cream); padding: 6px 0; }
.r27-faq-item:last-child { border-bottom: 1px solid var(--r27-line-cream); }
.r27-faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; }
.r27-faq-item > summary::-webkit-details-marker { display: none; }
.r27-faq-item summary .q { font-family: var(--r27-serif); font-size: 22px; }
.r27-faq-item summary .faqmark { font-size: 26px; line-height: 1; color: var(--r27-ink-faint); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.r27-faq-item[open] summary .faqmark { transform: rotate(45deg); }
.r27-faq-item .a { margin: 0; padding: 0 60px 24px 2px; color: var(--r27-ink-soft); }

/* ===========================================================================
   BILDPOETEN + AWARDS — kompakt zweispaltig
   =========================================================================== */
.r27-awards { max-width: var(--r27-maxw); margin: 0 auto; padding: 80px 40px 70px; }
.r27-awards .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.r27-awards h2 { font-family: var(--r27-serif); font-weight: 400; font-size: clamp(28px,3vw,36px); line-height: 1.15; margin: 0 0 18px 0; }
.r27-awards p { margin: 0 0 20px 0; color: var(--r27-ink-soft); }
.r27-awards .badge img { display: block; width: 120px; }
.r27-logos { display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: center; filter: grayscale(1) opacity(.65); }
.r27-logos img { height: 40px; width: auto; }
@media (max-width: 760px) { .r27-awards .grid { grid-template-columns: 1fr; gap: 50px; } }

/* ===========================================================================
   KONTAKT — Info + reaktives Formular (App-Charakter, Haekchen)
   =========================================================================== */
.r27-kontakt { position: relative; background: var(--r27-blue); padding: 100px 40px; margin: 0 var(--r27-inset); border-radius: var(--r27-radius); }
.r27-kontakt .grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 480px; gap: 90px; align-items: start; }
.r27-kontakt .r27-kontakt-head { font-size: clamp(32px,3.6vw,46px); margin: 0 0 22px 0; color: var(--r27-ink-black); }
.r27-kontakt .info p { margin: 0 0 16px 0; color: #22303A; }
.r27-kontakt .info .links { display: grid; gap: 10px; font-size: 15px; color: var(--r27-ink-black); }
.r27-kontakt .info .links a { color: var(--r27-ink-black); text-decoration: none; border-bottom: 1px solid rgba(20,20,15,.3); width: fit-content; }
.r27-kontakt .info .links a:hover { border-bottom-color: var(--r27-ink-black); }

/* Formular-Wrapper (umschliesst CF7 oder natives Formular) */
.r27-form-app { background: var(--r27-paper); border-radius: 4px; padding: 40px 38px; box-shadow: 0 30px 60px -30px rgba(20,30,40,.5); }
.r27-form-app form { display: grid; gap: 22px; }
.r27-form-app label, .r27-form-app .field { display: grid; gap: 8px; }
.r27-form-app .flabel { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6B675C; }
.r27-form-app .fwrap { position: relative; display: block; }
.r27-form-app input[type=text], .r27-form-app input[type=email], .r27-form-app textarea,
.r27-form-app .wpcf7-form-control.wpcf7-text, .r27-form-app .wpcf7-form-control.wpcf7-textarea {
  width: 100%; box-sizing: border-box; font-family: var(--r27-sans); font-size: 16px; color: var(--r27-ink);
  background: #fff; border: 1px solid var(--r27-line); border-radius: 3px; padding: 14px 44px 14px 16px;
  outline: none; transition: border-color .3s, box-shadow .3s;
}
.r27-form-app textarea { line-height: 1.6; resize: vertical; }
.r27-form-app input:focus, .r27-form-app textarea:focus { border-color: var(--r27-ink); box-shadow: 0 0 0 3px rgba(46,45,41,.08); }
.r27-form-app .r27-check { position: absolute; right: 14px; top: 50%; margin-top: -9px; width: 18px; height: 18px; transform: scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1); pointer-events: none; }
.r27-form-app .fwrap.is-valid .r27-check { transform: scale(1); }
.r27-form-app textarea + .r27-check { top: 16px; margin-top: 0; }
.r27-form-app button[type=submit], .r27-form-app .wpcf7-submit {
  font-family: var(--r27-sans); background: var(--r27-ink); color: var(--r27-paper); font-size: 15px;
  letter-spacing: .06em; padding: 16px 28px; border: none; border-radius: 999px; cursor: pointer;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s;
}
.r27-form-app button[type=submit]:hover, .r27-form-app .wpcf7-submit:hover { transform: translateY(-3px); background: var(--r27-ink-black); }
.r27-form-sent { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #4C5A32; animation: r27Rise .8s cubic-bezier(.22,1,.36,1) both; }
@media (max-width: 900px) { .r27-kontakt .grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===========================================================================
   FOOTER — ausgebaut, interne Landingpage-Links
   =========================================================================== */
.r27-footer { position: relative; background: var(--r27-footer-bg); color: #C9C4B6; padding: 80px 44px 40px; margin: 0; border-radius: 0; }
.r27-footer .inner { max-width: var(--r27-maxw); margin: 0 auto; }
.r27-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 70px; padding-bottom: 56px; border-bottom: 1px solid rgba(201,196,182,.18); }
.r27-footer .brand-name { font-family: var(--r27-serif); font-size: 24px; color: #F3EFE7; margin-bottom: 14px; }
.r27-footer .brand p { margin: 0 0 20px 0; font-size: 15px; line-height: 1.7; max-width: 34ch; }
.r27-footer .brand .contact { display: grid; gap: 8px; font-size: 15px; }
.r27-footer .coltitle { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--r27-ink-faint); margin-bottom: 18px; }
.r27-footer .col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.r27-footer a { color: #C9C4B6; text-decoration: none; transition: color .25s; }
.r27-footer a:hover { color: #F3EFE7; }
.r27-footer .legal { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 28px; font-size: 13px; color: var(--r27-ink-faint); }
.r27-footer .legal .r-links { display: flex; gap: 26px; }
.r27-footer .legal a { color: var(--r27-ink-faint); }
@media (max-width: 900px) { .r27-footer .cols { grid-template-columns: 1fr 1fr; gap: 40px; } .r27-footer .legal { flex-direction: column; align-items: flex-start; gap: 14px; } }
@media (max-width: 560px) { .r27-footer .cols { grid-template-columns: 1fr; } }

/* ===========================================================================
   Desktop-first: neue Grid-Sektionen mobil stapeln (Mobile „nicht brechen")
   =========================================================================== */
@media (max-width: 900px) {
  .r27-aesthetik { padding: 80px 24px 70px; }
  .r27-aesthetik .r27-aesthetik-grid { grid-template-columns: 1fr; gap: 40px; }
  .r27-aesthetik .r27-aesthetik-stackcol { width: 100%; max-width: 360px; }
  .r27-aesthetik .r27-panel { margin-left: 0; padding: 40px 32px; }
  .r27-orte .r27-orte-grid { grid-template-columns: 1fr; gap: 48px; }
  .r27-orte .r27-orte-photo { justify-self: start; }
  .r27-ablauf .r27-ablauf-grid { grid-template-columns: 1fr; gap: 40px; }
  .r27-ablauf .r27-ablauf-aside { position: static; }
  .r27-about .grid { grid-template-columns: 1fr; gap: 40px; }
  .r27-claim--image .r27-claim-body { left: 28px; right: 28px; bottom: 32px; }
}

/* ---------------------------------------------------------------------------
   Sektion „Hochzeitsgeschichten" (.taxonomies--stories) – Variante 4 (Bestand)
   Headline, dann Intro-Text als zwei gestaffelte Bloecke mit Claim mittendrin.
   --------------------------------------------------------------------------- */
.taxonomies--stories .container-header.stories-stagger { display: block; }
.taxonomies--stories .stories-stagger,
.taxonomies--stories .stories-stagger * { text-align: left; }
.taxonomies--stories .stories-stagger h2 { margin: 0 0 var(--v-space-md, 40px); }

.taxonomies--stories .s-block {
  font-size: 1em;
  line-height: 1.72;
  color: #2F2A26;
  margin: 0;
}
.taxonomies--stories .s-claim {
  font-family: 'Albra', 'Times New Roman', Times, serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.16;
  color: #2F2A26;
  margin: 26px 0;
  padding-left: 16px;
  border-left: 2px solid #2F2A26;
}

@media (min-width: 900px) {
  .taxonomies--stories .s-block-1 { width: 54%; margin-right: auto; }
  .taxonomies--stories .s-claim   { width: 58%; margin: 34px 0 34px 30%; }
  .taxonomies--stories .s-block-2 { width: 54%; margin-left: auto; }
}

/* Layout B — Split-Header: Headline+Claim links, Fliesstext rechts (2026-07-06) */
.taxonomies--stories .stories-split,
.taxonomies--stories .stories-split * { text-align: left; }
.taxonomies--stories .stories-split { margin: 0 0 var(--v-space-md, 40px); }
.taxonomies--stories .stories-split h2 { margin: 0 0 22px; max-width: 15ch; }
.taxonomies--stories .stories-split .s-claim--split {
  font-family: 'Albra', 'Times New Roman', Times, serif;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.18; color: #2F2A26;
  border-left: 3px solid #6f7d55; padding-left: 16px; margin: 0; max-width: 22ch;
}
.taxonomies--stories .stories-split .split-text p { font-size: 18px; line-height: 1.72; margin: 0 0 14px; }
.taxonomies--stories .stories-split .split-text p:last-child { margin-bottom: 0; }
.taxonomies--stories .stories-split .split-text em { font-style: normal; border-bottom: 2px solid rgba(47,42,38,.28); }
@media (min-width: 820px) {
  .taxonomies--stories .stories-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .taxonomies--stories .stories-split .split-text { padding-top: 8px; }
}

/* Strecken-Footer-Button: leichter (400), kleiner + Seiten-Pfeil (2026-07-06) */
.taxonomies--stories .container-footer .btn {
  font-weight: 400; font-size: 15px; letter-spacing: .01em; padding: 13px 26px;
  display: inline-flex; align-items: center; gap: 9px;
}
.taxonomies--stories .container-footer .btn::after {
  content: "\2192"; font-size: 16px; line-height: 1; transition: transform .3s ease;
}
.taxonomies--stories .container-footer .btn:hover::after { transform: translateX(4px); }

/* ============================================================================
   2026-07-06 · Passepartout weg fuer die farbigen Baender.
   Die farbigen Bloecke (Oliv-CTA, Ansatz-Creme, FAQ-Creme, Kontakt-Blau) und
   das Vollbild-Claim-Bild laufen jetzt ueber die GANZE Seitenbreite (randlos).
   Der seitliche Einzug (--r27-inset) + Border-Radius wird per Override entfernt.
   Der HERO bleibt unangetastet (eigene sebo2022-CSS) -> behaelt seinen weissen
   Rand. Die inneren .inner/.grid behalten ihre max-width -> Text bleibt lesbar
   und zentriert; nur der farbige Grund reicht bis zum Viewport-Rand.
   Reversibel: diesen Block loeschen stellt den Passepartout wieder her.
   ============================================================================ */
.r27-cta,
.r27-ansatz,
.r27-faq,
.r27-kontakt {
  margin-inline: 0;
  border-radius: 0;
}
.r27-claim--image .r27-claim-media {
  margin-inline: 0;
  border-radius: 0;
}

/* ============================================================================
   2026-07-06 · Footer = Variante A (flach, horizontale Zeilen).
   Bestehendes Markup (.brand + 3x .col) wird rein per CSS umgeformt zu:
   Kopfzeile (Name links, Kontakt rechts, Blurb aus) + je eine flache Zeile
   pro Gruppe (Label inline, Links inline mit ·-Trenner). Kompakt, Ortszeilen
   brechen nicht mehr um. Globale <li>=21px-Regel gezielt ueberschrieben.
   ============================================================================ */
.r27-footer { padding: 40px 44px 0; }
.r27-footer .cols { display: flex; flex-direction: column; gap: 0; padding-bottom: 0; border-bottom: none; }

.r27-footer .brand { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(201,196,182,.18); }
.r27-footer .brand-name { font-size: 20px; margin: 0; }
.r27-footer .brand p { display: none; }
.r27-footer .brand .contact { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.r27-footer .brand .contact a { font-size: 13px; line-height: 1.4; }

.r27-footer .col { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(201,196,182,.10); }
.r27-footer .col:last-of-type { border-bottom: none; }
.r27-footer .coltitle { flex: 0 0 auto; min-width: 62px; margin: 0; }
.r27-footer .col ul { display: block; list-style: none; margin: 0; padding: 0; }
.r27-footer .col ul li { display: inline; }
.r27-footer .col ul li:not(:last-child)::after { content: "·"; color: #56534A; margin: 0 10px; }
.r27-footer .col ul li a { display: inline; font-size: 13.5px; line-height: 1.85; }

.r27-footer .legal { padding-top: 14px; margin-top: 4px; border-top: 1px solid rgba(201,196,182,.18); font-size: 12.5px; }
.r27-footer .legal li, .r27-footer .legal a { font-size: 12.5px; line-height: 1.5; }

@media (max-width: 640px) {
  .r27-footer { padding: 26px 20px 0; }
  .r27-footer .brand { padding-bottom: 12px; gap: 4px 16px; }
  .r27-footer .brand-name { font-size: 18px; }
  .r27-footer .brand .contact { gap: 3px 14px; }
  .r27-footer .brand .contact a { font-size: 12px; }
  .r27-footer .col { flex-direction: column; align-items: flex-start; gap: 3px; padding: 8px 0; }
  .r27-footer .coltitle { min-width: 0; font-size: 10.5px; }
  .r27-footer .col ul { line-height: 1.4; }
  .r27-footer .col ul li { white-space: nowrap; }
  .r27-footer .col ul li a { font-size: 12.5px; }
  .r27-footer .col ul li:not(:last-child)::after { margin: 0 7px; }
  .r27-footer .legal { padding-top: 12px; font-size: 11.5px; }
  .r27-footer .legal li, .r27-footer .legal a { font-size: 11.5px; }
}

/* ============================================================================
   2026-07-06 · Footer Social-Icons + Mobile-Vollbreite.
   Desktop/Standard: Instagram/LinkedIn als Text (SVG-Icon versteckt).
   Mobile (<=640px): Text -> kompaktes SVG-Icon (spart Platz in der Kontaktzeile)
   + Footer randlos ueber die ganze Viewport-Breite. Reversibel: Block loeschen
   (dann sind IG/LI wieder ueberall Text + Footer wieder mit 26px-Rand/Radius).
   ============================================================================ */
.r27-footer .brand .contact a.social .social-icon { display: none; }

@media (max-width: 640px) {
  /* Footer randlos ueber die ganze Breite (nur oben etwas Abstand) */
  .r27-footer { margin: 20px 0 0; border-radius: 0; }

  /* Instagram/LinkedIn als Icon statt Text */
  .r27-footer .brand .contact { align-items: center; }
  .r27-footer .brand .contact a.social { display: inline-flex; align-items: center; padding: 4px 3px; }
  .r27-footer .brand .contact a.social .social-label { display: none; }
  .r27-footer .brand .contact a.social .social-icon { display: inline-block; width: 19px; height: 19px; }
}

/* ============================================================================
   2026-07-06 · Body-/UI-Schrift = General Sans (self-hosted, ersetzt Muli).
   Albra (Headlines) + Desyrel (Deko) bleiben unveraendert. General Sans wird
   global gesetzt: --r27-sans (r27-Komponenten) + body (vererbter Text) + die
   expliziten Muli-Stellen (CF7-Formular). Fallback-Kette behaelt Muli.
   ============================================================================ */
@font-face { font-family:'General Sans'; src:url('../fonts/general-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'General Sans'; src:url('../fonts/general-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'General Sans'; src:url('../fonts/general-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }

:root { --r27-sans: 'General Sans', 'Muli', Arial, Helvetica, sans-serif; }

html body,
input, textarea, select, button,
.wpcf7-form label > span.label,
.wpcf7-form textarea { font-family: 'General Sans', 'Muli', Arial, Helvetica, sans-serif; }

/* ============================================================================
   2026-07-06 · Block „Momente" (Below the fold, Variante B).
   Durchblätterbarer Foto-Stapel (reuse .r27-stack + JS) mit starken Portrait-
   Bildern + editorialer Beweis-Text. Stapel-Seite per ACF (links/rechts).
   ============================================================================ */
.r27-momente { position: relative; max-width: var(--r27-maxw); margin: 0 auto; padding: 64px 40px 100px; }
.r27-momente .r27-momente-grid { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.r27-momente .r27-momente-stackcol { position: relative; z-index: 2; width: 420px; }
.r27-momente .r27-stack { height: 548px; }
.r27-momente .r27-stack-card img { aspect-ratio: 4/5; }
.r27-momente .r27-momente-head {
  font-family: var(--r27-serif); font-weight: 400; font-size: clamp(30px,3.8vw,46px);
  line-height: 1.13; margin: 0 0 22px 0; max-width: 18ch; color: var(--r27-ink);
}
.r27-momente .r27-momente-text p { margin: 0 0 16px 0; font-size: 17px; line-height: 1.72; color: var(--r27-ink-soft); max-width: 46ch; }
.r27-momente .r27-momente-text em { font-style: italic; color: var(--r27-ink); }
.r27-momente .r27-btn { margin-top: 28px; }

/* Stapel rechts (ACF-Schalter) */
.r27-momente--rechts .r27-momente-grid { grid-template-columns: 1fr 420px; }
.r27-momente--rechts .r27-momente-stackcol { order: 2; }
.r27-momente--rechts .r27-momente-text { order: 1; }

@media (max-width: 900px) {
  .r27-momente { padding: 48px 24px 56px; }
  .r27-momente .r27-momente-grid,
  .r27-momente--rechts .r27-momente-grid { grid-template-columns: 1fr; gap: 40px; }
  .r27-momente .r27-momente-stackcol { width: 100%; max-width: 340px; order: 0; }
  .r27-momente .r27-momente-text { order: 0; }
  .r27-momente .r27-stack { height: 470px; }
}

/* ============================================================================
   2026-07-06 · Footer voll auf Breite (Desktop) + Legal/Copyright als helle
   Leiste (weiss/grau, dunkle Schrift) unter dem dunklen Footer. Die Leiste
   bricht per negativer Margin aus dem Footer-Padding aus -> echte Vollbreite.
   ============================================================================ */
.r27-footer .legal {
  display: block; background: #EDECE6; color: #57544d;
  margin: 44px -44px 0; padding: 15px 44px; border-top: none;
}
.r27-footer .legal .legal-inner {
  max-width: var(--r27-maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  font-size: 12.5px; line-height: 1.5;
}
.r27-footer .legal a { color: #3f3d37; text-decoration: none; }
.r27-footer .legal a:hover { color: #14140F; }
.r27-footer .legal .r-links { display: flex; gap: 26px; }
@media (max-width: 640px) {
  .r27-footer .legal { margin: 30px -20px 0; padding: 13px 20px; }
  .r27-footer .legal .legal-inner { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11.5px; }
}

/* ============================================================================
   2026-07-06 · „Wo ich arbeite" — Layout „index" (Variante A): Text links,
   Orte als große Albra-Index-Link-Liste rechts (SEO-Anchors auf Ortsseiten).
   ============================================================================ */
.r27-orte--index { padding: 80px 40px; }
.r27-orte--index .r27-orte-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.r27-orte--index .r27-orte-head { margin: 6px 0 22px; }
.r27-orte--index .r27-orte-text { max-width: 46ch; }
.r27-orte--index .r27-orte-text p { font-size: 17px; line-height: 1.7; color: var(--r27-ink-soft); margin: 0 0 14px; }
.r27-orte--index .r27-orte-text em { font-style: italic; color: var(--r27-ink); }

.r27-orte-index { display: block; }
.r27-orte-index .r27-orte-index-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  text-decoration: none; color: var(--r27-ink);
  border-top: 1px solid var(--r27-line); padding: 15px 0;
  transition: padding .25s ease, color .2s;
}
.r27-orte-index .r27-orte-index-item:last-child { border-bottom: 1px solid var(--r27-line); }
a.r27-orte-index-item:hover { color: var(--r27-olive); }
.r27-orte-index .loc { font-family: var(--r27-serif); font-size: clamp(24px,3vw,34px); line-height: 1; }
/* Konsistente „fuehrt-auf-eine-Seite"-Geste (wie Strecken-Button): Pfeil sliced rein */
a.r27-orte-index-item .loc::after {
  content: "\2192"; margin-left: 12px; display: inline-block; font-size: .62em; vertical-align: middle;
  opacity: 0; transform: translateX(-7px); transition: opacity .25s ease, transform .3s ease;
}
a.r27-orte-index-item:hover .loc::after { opacity: 1; transform: translateX(0); }
.r27-orte-index .note { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--r27-ink-faint); white-space: nowrap; }

@media (max-width: 820px) {
  .r27-orte--index { padding: 56px 24px; }
  .r27-orte--index .r27-orte-grid { grid-template-columns: 1fr; gap: 30px; }
  .r27-orte-index .loc { font-size: 26px; }
}
