/* Shared typefaces, header, footer and logo stay in style.css. */
.offer-detail {
  --c-burgunder:#7A1F2D;--c-bordeaux:#3F0F19;--c-creme:#F7EFE4;--c-papier:#FFFCF7;--c-gold:#E9CF97;--c-tinte:#2A2124;
  --c-text-2:#4A3B3E;--c-text-3:#5E4E51;--c-text-4:#6B5A5D;--c-gruen:#2E7A4E;--c-rosa:#F3DCD8;--c-toenung:#F4E3DF;--c-linie:#E6D6C6;--c-linie-hell:#EFE3D6;--c-trenner:#B8A7A2;
  --f-titel:'Fraunces',Georgia,serif;--f-text:'Source Sans 3',system-ui,sans-serif;
  --fs-h1:4.25rem;--fs-h2:2.125rem;--fs-h2-klein:1.875rem;--fs-h3:1.4375rem;--fs-faq:1.3125rem;--fs-preis:2rem;--fs-intro:1.375rem;--fs-text:1.1875rem;--fs-text-klein:1.125rem;--fs-neben:1.0625rem;--fs-mini:1rem;--fs-hinweis:.9375rem;--fs-dachzeile:.875rem;
  --rand:40px;--abschnitt:72px;--r-gross:22px;--r-karte:18px;--r-faq:16px;--r-icon:14px;
  --schatten-karte:0 1px 2px rgba(63,15,25,.05),0 12px 32px rgba(63,15,25,.08);
  padding-bottom:var(--abschnitt);background:var(--c-creme);font-size:var(--fs-text);line-height:1.55;
}
.detail-container{max-width:1200px;margin-inline:auto;padding-inline:var(--rand)}
.offer-detail h1,.offer-detail h2,.offer-detail h3{font-family:var(--f-titel);font-weight:600;color:var(--c-bordeaux)}
.offer-detail a{color:var(--c-burgunder)}
.offer-detail :focus-visible{outline:3px solid var(--c-gold);outline-offset:3px}
.offer-detail .ic{width:24px;height:24px}
.offer-detail .btn{min-height:56px;height:auto;padding:14px 20px;border:2px solid transparent;border-radius:12px;font-size:var(--fs-text);line-height:1.2;gap:10px;white-space:nowrap}
.offer-detail .btn-primary{background:var(--c-burgunder);color:var(--c-papier)}
.offer-detail .btn-ghost{min-height:48px;padding:10px 16px;border-color:var(--c-burgunder);background:transparent;font-size:var(--fs-neben);font-weight:600}
.offer-detail .offer-button-light{background:var(--c-papier);color:var(--c-burgunder)}
.offer-detail .dachzeile{font-size:var(--fs-dachzeile);font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--c-burgunder)}
.offer-detail .offer-badge{padding:6px 14px;font-size:var(--fs-hinweis);letter-spacing:.02em}
.offer-detail .rich-text{font-size:var(--fs-text);line-height:1.6;color:#3A2D30;max-width:68ch;min-width:0}
.offer-detail .rich-text>*+*{margin-top:.9em}
.offer-detail .rich-text h3{font-size:calc(var(--fs-h3) - 2px);line-height:1.25;margin-top:1.4em}
.offer-detail .rich-text ul,.offer-detail .rich-text ol{margin-bottom:0;padding-left:1.3em}
.offer-detail .rich-text li+li{margin-top:.35em}
.offer-detail .rich-text li::marker{color:var(--c-burgunder)}
.offer-detail .rich-text strong{font-weight:700;color:var(--c-tinte)}
.offer-detail .rich-text a{text-decoration:underline;text-underline-offset:4px}
/* ==========================================================================
   Hausbetreuung Ungarn – angebot-detail.css
   Vorlage für jede Angebots-Detailseite (Beispiel: „Haus & Garten“).
   Benötigt basis.css. Stand: 10.11.2026
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Zurück-Link + Brotkrumen
   -------------------------------------------------------------------------- */
.detail-nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-block: 22px 26px; font-size: var(--fs-mini);
}
.zurueck {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
  font-weight: 600;
}
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--c-text-3); }
.brotkrumen li + li::before { content: "/"; color: var(--c-trenner); margin-right: 8px; }
.brotkrumen a { color: var(--c-text-3); text-decoration: none; }
.brotkrumen a:hover { color: var(--c-burgunder); text-decoration: underline; }
.brotkrumen [aria-current="page"] { color: var(--c-tinte); font-weight: 600; }

/* --------------------------------------------------------------------------
   2. Seitenraster
   Desktop: links Inhalt, rechts der Angebotskasten, der beim Scrollen mitläuft.
   Unter 1024 px: eine Spalte, Kasten direkt nach der Einleitung.
   -------------------------------------------------------------------------- */
.angebot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 396px;
  grid-template-areas:
    "einstieg     box"
    "foto         box"
    "leistungen   box"
    "beschreibung box"
    "faq          box";
  column-gap: 48px;
  align-items: start;
}
.angebot__einstieg     { grid-area: einstieg; margin-bottom: 32px; }
.angebot__box-spalte   { grid-area: box; align-self: stretch; }
.angebot__foto         { grid-area: foto; margin-bottom: var(--abschnitt); }
.leistungen            { grid-area: leistungen; margin-bottom: var(--abschnitt); }
.beschreibung          { grid-area: beschreibung; margin-bottom: var(--abschnitt); }
.faq                   { grid-area: faq; }

/* --------------------------------------------------------------------------
   3. Einstieg: Badge, Titel, Kurzbeschreibung
   -------------------------------------------------------------------------- */
.angebot__einstieg { display: flex; flex-direction: column; gap: 18px; }
.angebot__titel {
  font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.01em;
}
.angebot__kurz { max-width: 640px; font-size: var(--fs-intro); line-height: 1.5; color: var(--c-text-2); }

/* --------------------------------------------------------------------------
   4. Foto
   -------------------------------------------------------------------------- */
.angebot__foto {
  position: relative; margin-top: 0;
  height: 340px; border-radius: var(--r-gross); overflow: hidden; background: var(--c-linie);
}
.angebot__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.foto-hinweis { /* nur im Entwurf – entfernen, sobald Originalfotos da sind */
  position: absolute; left: 16px; bottom: 16px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 252, 247, .92); color: var(--c-bordeaux);
  font-size: 14px; font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. Angebotskasten „Ihr Angebot im Überblick“
   -------------------------------------------------------------------------- */
.angebot__box-mitlauf { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }

.angebot-box {
  background: var(--c-papier); border: 1px solid var(--c-linie);
  border-radius: var(--r-gross); overflow: hidden; box-shadow: var(--schatten-karte);
}
.angebot-box__kopf { display: flex; align-items: center; gap: 12px; padding: 20px 24px; background: var(--c-toenung); }
.angebot-box__icon {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-papier); color: var(--c-burgunder);
}
.angebot-box__icon .ic { width: 26px; height: 26px; }
.angebot-box__titel { font-size: 22px; line-height: 1.2; }

.angebot-box__liste {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0; padding: 22px 26px; list-style: none; font-size: var(--fs-text-klein);
}
.angebot-box__liste li { display: flex; align-items: flex-start; gap: 12px; }
.angebot-box__liste .ic { margin-top: 2px; }

.angebot-box__preisbereich {
  display: flex; flex-direction: column; gap: 16px;
  margin-inline: 26px; padding: 22px 0 26px; border-top: 1px solid #EADCCD;
}
.angebot-box__preis { display: flex; flex-direction: column; gap: 2px; }
.angebot-box__preis-wert { font-family: var(--f-titel); font-size: var(--fs-preis); line-height: 1.15; font-weight: 600; color: var(--c-burgunder); }
.angebot-box__preis-zusatz { font-size: var(--fs-neben); color: var(--c-text-3); }
.angebot-box__hinweis { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-hinweis); line-height: 1.45; color: var(--c-text-3); }
.angebot-box__hinweis .ic { color: var(--c-burgunder); margin-top: 1px; }

/* Direktkontakt unter dem Kasten (nur Desktop/Tablet quer) */
.direktkontakt { display: flex; flex-direction: column; gap: 12px; padding: 18px 22px 20px; border: 1px solid var(--c-linie); border-radius: var(--r-karte); }
.direktkontakt__titel { font-size: var(--fs-neben); font-weight: 600; color: var(--c-bordeaux); }
.direktkontakt__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.direktkontakt__buttons .btn { flex: 1 1 120px; }

/* --------------------------------------------------------------------------
   6. „Das gehört dazu“ – Leistungen
   -------------------------------------------------------------------------- */
.abschnitt-titel { font-size: var(--fs-h2); line-height: 1.15; }
.leistungen { display: flex; flex-direction: column; gap: 24px; }
.leistungen__liste {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
.leistung {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 22px 26px; background: var(--c-papier);
  border: 1px solid var(--c-linie); border-radius: var(--r-karte);
}
.leistung__icon {
  width: 56px; height: 56px; flex: none; border-radius: var(--r-icon);
  display: flex; align-items: center; justify-content: center;
  background: var(--c-toenung); color: var(--c-burgunder);
}
.leistung__icon .ic { width: 28px; height: 28px; }
.leistung__text { display: flex; flex-direction: column; gap: 6px; }
.leistung__titel { font-size: var(--fs-h3); }
.leistung__beschreibung { font-size: var(--fs-text-klein); line-height: 1.5; color: var(--c-text-2); }

/* --------------------------------------------------------------------------
   7. Beschreibung (Langtext) + Ansprechpartner – „Ihr Haus in guten Händen“
   -------------------------------------------------------------------------- */
.beschreibung {
  display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 32px; row-gap: 12px;
  padding: 32px; background: var(--c-papier);
  border: 1px solid var(--c-linie); border-radius: var(--r-gross);
}
.beschreibung__portrait {
  grid-row: 1 / span 3;
  width: 116px; height: 116px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--c-papier); box-shadow: 0 0 0 2px var(--c-gold);
}
.beschreibung__titel { font-size: var(--fs-h2-klein); line-height: 1.15; }
.beschreibung__name { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: var(--fs-mini); color: var(--c-text-3); }
.beschreibung__name::before { content: ""; width: 32px; height: 2px; flex: none; background: var(--c-burgunder); }
/* Variante ohne Porträt: Klasse .beschreibung--ohne-bild */
.beschreibung--ohne-bild { grid-template-columns: minmax(0, 1fr); }

/* --------------------------------------------------------------------------
   8. FAQ „Gut zu wissen“ (<details>, immer nur eine Frage offen)
   -------------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 22px; }
.faq__kopf { display: flex; flex-direction: column; gap: 6px; }
.faq__liste { display: flex; flex-direction: column; gap: 12px; }

.faq__eintrag { background: var(--c-papier); border: 1px solid var(--c-linie); border-radius: var(--r-faq); overflow: hidden; }
.faq__frage {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; cursor: pointer; list-style: none;
}
.faq__frage::-webkit-details-marker { display: none; }
.faq__frage:hover .faq__titel { color: var(--c-burgunder); }
.faq__text { display: flex; flex-direction: column; gap: 3px; }
.faq__titel { font-family: var(--f-titel); font-size: var(--fs-faq); line-height: 1.25; font-weight: 600; color: var(--c-bordeaux); }
.faq__untertitel { font-size: var(--fs-mini); color: var(--c-text-4); }

.faq__zeichen {
  position: relative; flex: none; width: 40px; height: 40px;
  border: 2px solid var(--c-burgunder); border-radius: 50%;
  transition: background-color .15s ease;
}
.faq__zeichen::before, .faq__zeichen::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2.5px; border-radius: 2px; background: var(--c-burgunder);
  transform: translate(-50%, -50%);
}
.faq__zeichen::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__eintrag[open] .faq__zeichen { background: var(--c-burgunder); }
.faq__eintrag[open] .faq__zeichen::before { background: var(--c-papier); }
.faq__eintrag[open] .faq__zeichen::after { display: none; }

.faq__antwort { padding: 0 24px 22px; }
.faq__antwort > .rich-text { padding-top: 16px; border-top: 1px solid var(--c-linie-hell); font-size: var(--fs-text-klein); max-width: none; }

/* --------------------------------------------------------------------------
   9. Abschluss-Band „Passt das zu Ihrem Haus?“
   -------------------------------------------------------------------------- */
.abschluss {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin-top: 80px; padding: 40px 48px;
  background: var(--c-burgunder); border-radius: 24px;
}
.abschluss__text { display: flex; flex-direction: column; gap: 6px; }
.abschluss__titel { font-size: 36px; line-height: 1.15; color: var(--c-papier); }
.abschluss__unter { font-size: 20px; color: var(--c-rosa); }

/* --------------------------------------------------------------------------
   10. Weitere Angebote + „Alle Angebote“
   -------------------------------------------------------------------------- */
.weitere { display: flex; flex-direction: column; gap: 20px; margin-top: 64px; }
.weitere__titel { font-size: 26px; }
.weitere__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.angebot-link {
  display: flex; align-items: center; gap: 18px; height: 100%;
  padding: 20px 22px; background: var(--c-papier);
  border: 1px solid var(--c-linie); border-radius: var(--r-karte);
  color: var(--c-tinte); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.angebot-link:hover { color: var(--c-tinte); border-color: var(--c-burgunder); box-shadow: var(--schatten-karte); }
.angebot-link__icon {
  width: 52px; height: 52px; flex: none; border-radius: var(--r-icon);
  display: flex; align-items: center; justify-content: center;
  background: var(--c-toenung); color: var(--c-burgunder);
}
.angebot-link__icon .ic { width: 26px; height: 26px; }
.angebot-link__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.angebot-link__titel { font-family: var(--f-titel); font-size: 21px; font-weight: 600; color: var(--c-bordeaux); }
.angebot-link__kurz { font-size: var(--fs-mini); color: var(--c-text-3); }
.angebot-link > .ic { color: var(--c-burgunder); }
.weitere .zurueck { align-self: flex-start; font-size: var(--fs-neben); }

/* --------------------------------------------------------------------------
   11. Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet quer 1024–1199 px: schmalerer Kasten */
@media (max-width: 1199px) {
  .angebot { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 36px; }
  .leistung { padding: 22px 18px 24px; }
}

/* Tablet hoch 768–1023 px: eine Spalte, Kasten nach der Einleitung, zweigeteilt */
@media (max-width: 1023px) {
  .angebot {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "einstieg" "box" "foto" "leistungen" "beschreibung" "faq";
  }
  .angebot__einstieg { margin-bottom: 28px; }
  .angebot__box-spalte { margin-bottom: 40px; }
  .angebot__box-mitlauf { position: static; }
  .direktkontakt { display: none; } /* ersetzt durch die feste Kontaktleiste */

  .angebot-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .angebot-box__kopf { grid-column: 1 / -1; }
  .angebot-box__liste { align-self: center; }
  .angebot-box__preisbereich { margin: 22px 26px 22px 0; padding: 0 0 0 26px; border-top: 0; border-left: 1px solid #EADCCD; }

  .angebot__foto { height: 300px; }
  .abschluss { padding: 36px 36px; }
}

/* Mobil bis 767 px */
@media (max-width: 767px) {
  .detail-nav { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 16px 20px; }
  .zurueck { font-size: var(--fs-neben); }
  .brotkrumen ol { gap: 6px; font-size: 14px; }
  .brotkrumen li + li::before { margin-right: 6px; }

  .angebot__einstieg { gap: 14px; margin-bottom: 24px; }
  .angebot__titel { line-height: 1.05; }
  .angebot__box-spalte { margin-bottom: 36px; }

  .angebot-box { display: block; border-radius: 20px; }
  .angebot-box__kopf { padding: 16px 20px; gap: 12px; }
  .angebot-box__icon { width: 44px; height: 44px; }
  .angebot-box__titel { font-size: 20px; }
  .angebot-box__icon .ic { width: 24px; height: 24px; }
  .angebot-box__liste { gap: 10px; padding: 18px 20px; }
  .angebot-box__preisbereich { gap: 14px; margin: 0 20px; padding: 18px 0 22px; border-left: 0; border-top: 1px solid #EADCCD; }

  .angebot__foto { height: 210px; }
  .foto-hinweis { left: 12px; bottom: 12px; font-size: 13px; padding: 4px 11px; }

  /* Leistungen als Liste in einer Karte */
  .leistungen { gap: 16px; }
  .leistungen__liste {
    display: block; padding: 4px 18px;
    background: var(--c-papier); border: 1px solid var(--c-linie); border-radius: var(--r-karte);
  }
  .leistung { flex-direction: row; align-items: flex-start; gap: 16px; padding: 16px 0; background: none; border: 0; border-radius: 0; }
  .leistung + .leistung { border-top: 1px solid var(--c-linie-hell); }
  .leistung__icon { width: 48px; height: 48px; border-radius: 12px; }
  .leistung__icon .ic { width: 24px; height: 24px; }
  .leistung__text { gap: 2px; }
  .leistung__beschreibung { line-height: 1.45; }

  /* Beschreibung: Porträt neben der Überschrift */
  .beschreibung { grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; row-gap: 14px; padding: 22px 20px; align-items: center; }
  .beschreibung__portrait { grid-row: auto; width: 76px; height: 76px; border-width: 3px; }
  .beschreibung .rich-text, .beschreibung__name { grid-column: 1 / -1; }
  .beschreibung__name { gap: 10px; margin-top: 0; }
  .beschreibung__name::before { width: 26px; }
  .beschreibung--ohne-bild { grid-template-columns: minmax(0, 1fr); }

  .faq { gap: 16px; }
  .faq__kopf { gap: 4px; }
  .faq__liste { gap: 10px; }
  .faq__frage { gap: 14px; padding: 16px 18px; }
  .faq__zeichen { width: 36px; height: 36px; }
  .faq__zeichen::before, .faq__zeichen::after { width: 14px; }
  .faq__antwort { padding: 0 18px 18px; }
  .faq__antwort > .rich-text { padding-top: 14px; }

  .abschluss { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 52px; padding: 28px 22px; border-radius: 20px; }
  .abschluss__titel { font-size: 28px; }
  .abschluss__unter { font-size: 18px; line-height: 1.45; }
  .abschluss .btn { min-height: 54px; }

  .weitere { gap: 14px; margin-top: 44px; }
  .weitere__titel { font-size: 23px; }
  .weitere__liste { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .angebot-link { gap: 14px; padding: 16px; border-radius: 16px; }
  .angebot-link__icon { width: 46px; height: 46px; border-radius: 12px; }
  .angebot-link__icon .ic { width: 23px; height: 23px; }
  .angebot-link__titel { font-size: 19px; }
  .weitere .zurueck { min-height: 44px; }
}

/* Integration with the existing Blade layout; no second navigation or fonts. */
.offer-detail .brotkrumen{display:block}
.offer-detail .zurueck{min-height:44px;text-decoration:underline;text-underline-offset:4px}
.offer-detail .zurueck .ic{width:18px;height:18px}
.offer-detail .angebot__foto picture{display:block;width:100%;height:100%}
.offer-detail .angebot__foto img{object-position:center var(--photo-focus,85%)}
.offer-detail .angebot-box__liste .ic{width:22px;height:22px;flex:none;color:var(--c-gruen);margin-top:2px}
.offer-detail .angebot-box__hinweis .ic{width:18px;height:18px;flex:none}
.offer-detail .angebot-box__preisbereich>.btn{width:100%}
.offer-detail .offer-price-value{font-family:var(--f-titel);font-size:var(--fs-preis);line-height:1.15;font-weight:600;color:var(--c-burgunder)}
.offer-detail .offer-price-note{font-size:var(--fs-neben);color:var(--c-text-3)}
.offer-detail .offer-price-note:empty{display:none}
.offer-detail .angebot__box-mitlauf{position:static}
.offer-detail .angebot__box-mitlauf.can-stick{position:sticky;top:24px}
.offer-detail .leistung__text,.offer-detail .faq__text,.offer-detail .abschluss__text{min-width:0}
.offer-detail .abschluss__text{flex:1 1 22rem}
.offer-detail .abschluss__titel{color:var(--c-papier)}
.offer-detail .angebot-link:hover{text-decoration:none}
.offer-detail .offer-return{margin-top:24px}
@media(max-width:1199px){.offer-detail{--rand:32px}}
@media(max-width:1023px){
 .offer-detail{--fs-h1:3.5rem;--abschnitt:60px}
 .offer-detail .angebot__box-mitlauf.can-stick{position:static}
}
@media(max-width:767px){
 .offer-detail{--rand:16px;--abschnitt:44px;--fs-h1:2.625rem;--fs-h2:1.75rem;--fs-h2-klein:1.5625rem;--fs-h3:1.25rem;--fs-faq:1.1875rem;--fs-preis:1.875rem;--fs-intro:1.1875rem;--fs-text:1.125rem;--fs-text-klein:1.0625rem;--fs-mini:.9375rem;--fs-dachzeile:.8125rem;--r-gross:20px}
 .offer-detail .abschluss__text{flex:auto}
 .offer-detail .abschluss .btn{width:100%}
}
