/* =========================================================================
   Arimo Immobilien – Stylesheet
   Werte 1:1 aus der Designvorlage (arimo-immobilien-website.zip).
   Gestaltung über CSS-Klassen im Feld "CSS-Klasse" von Artikeln und
   Inhaltselementen (z. B. "section alt", "eyebrow", "btn ghost").
   ========================================================================= */

:root {
  --teal: #4fb3a9;
  --teal-dark: #3d9a91;
  --teal-deep: #2e7a73;
  --teal-soft: #eaf6f4;
  --ink: #3a3f42;
  --ink-light: #6b7377;
  --grey-bg: #f2f2f0;
  --white: #ffffff;
  --black: #161616;
  --ch: #d52b1e;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(40, 60, 58, .10);
  --maxw: 1180px;
  --flag-de: url("../../files/arimo/img/flag-de.svg");
  --flag-ch: url("../../files/arimo/img/flag-ch.svg");
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--teal-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sr-only, .invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--teal-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Bausteine ---------- */
.eyebrow p, p.eyebrow { color: var(--teal-dark); font-size: 13px; font-weight: 600; margin-bottom: 12px; }

.btn a, a.btn, button.btn, .widget-submit button {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font: inherit; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius); border: 0; cursor: pointer; transition: background .15s;
}
.btn a:hover, .widget-submit button:hover { background: var(--teal-dark); }
.btn.ghost a { background: var(--white); color: var(--teal-dark); border: 1.5px solid var(--teal); }
.btn.ghost a:hover { background: var(--teal-soft); }
.btn.light a { background: #fff; color: var(--teal-deep); }
.btn.light a:hover { background: var(--teal-soft); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-final .btn-row { justify-content: flex-start; }
.btn-row.center { justify-content: center; }
.btn-row.spaced { margin-top: 24px; }

/* Flaggen (Klasse "flag-de" / "flag-ch" an Link oder Text) */
.flag-de > a::before, .flag-ch > a::before, .country-tag.flag-de p::before, .country-tag.flag-ch p::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--flag-de) center/contain no-repeat;
}
.flag-ch > a::before, .country-tag.flag-ch p::before { background-image: var(--flag-ch); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); z-index: 50; border-bottom: 1px solid rgba(0, 0, 0, .04); }
.head-inner { display: flex; align-items: center; gap: 22px; padding-top: 16px; padding-bottom: 16px; }
.head-inner .logo { margin-right: auto; }
.head-inner .logo img { height: 40px; width: auto; }
.country-switch { display: flex; align-items: center; gap: 8px; background: var(--teal-soft); border-radius: 30px; padding: 5px 6px; }
.country-switch a { display: flex; align-items: center; gap: 7px; text-decoration: none; font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 24px; color: var(--ink-light); }
.country-switch .active a { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .10); }
.burger { width: 34px; height: 22px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; background: none; border: none; }
.burger span { height: 2px; background: var(--teal); border-radius: 2px; }

/* ---------- Aufklapp-Menü ---------- */
.navmenu { position: fixed; inset: 0; z-index: 200; background: rgba(15, 25, 24, .35); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s .28s; }
.navmenu[hidden] { display: block; }
.navmenu.open { opacity: 1; visibility: visible; transition: opacity .28s ease; }
.navmenu.open .navmenu-right { transform: translateX(0); }
.navmenu-right { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 88vw); background: var(--teal); color: #fff; padding: 72px 40px 48px; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1); box-shadow: -24px 0 60px rgba(0, 0, 0, .28); }
.navmenu-close { position: absolute; top: 30px; right: 38px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.navmenu-close::before, .navmenu-close::after { content: ""; position: absolute; left: 8px; top: 19px; width: 24px; height: 2px; background: #fff; }
.navmenu-close::before { transform: rotate(45deg); }
.navmenu-close::after { transform: rotate(-45deg); }
.navmenu-close:focus-visible, .navmenu a:focus-visible, .navmenu summary:focus-visible { outline-color: #fff; }
.navmenu-main { display: flex; flex-direction: column; gap: 4px; }
.navmenu-main > a, .navmenu-main summary { width: 100%; color: #fff; text-decoration: none; font-size: 30px; font-weight: 300; line-height: 1.55; display: flex; align-items: center; justify-content: space-between; }
.navmenu-main a.active { font-weight: 700; }
.navmenu-main .nm-group { display: flex; flex-direction: column; }
.navmenu-main summary { list-style: none; cursor: pointer; }
.navmenu-main summary::-webkit-details-marker { display: none; }
.navmenu-main .car { width: 11px; height: 11px; border-right: 2px solid rgba(255, 255, 255, .85); border-bottom: 2px solid rgba(255, 255, 255, .85); transform: rotate(45deg); margin-left: 20px; flex: none; transition: transform .2s ease; }
.navmenu-main details[open] > summary .car { transform: rotate(-135deg); }
.navmenu-main .nm-sub { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 16px 2px; }
.navmenu-main .nm-sub a { color: #fff; text-decoration: none; font-size: 16px; font-weight: 400; opacity: .92; }
.navmenu-main .nm-sub a.active { font-weight: 700; opacity: 1; }
.navmenu-sub { display: flex; flex-direction: column; gap: 14px; margin-top: 38px; }
.navmenu-sub a { color: #fff; text-decoration: none; font-size: 15px; opacity: .95; }
.navmenu-sub a.active { font-weight: 700; }
.navmenu-main a:hover, .navmenu-main summary:hover, .navmenu-sub a:hover { opacity: .72; }
body.nav-open { overflow: hidden; }
@media (max-width: 760px) {
  .navmenu-right { padding: 74px 30px 40px; }
  .navmenu-main > a, .navmenu-main summary { font-size: 24px; }
}

/* ---------- Startseite: Split-Hero ---------- */
.hero { position: relative; min-height: 760px; color: #fff; overflow: hidden; background: #2f3b39; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg figure, .hero-bg img { width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 58%; }
.hero-card {
  position: absolute; left: 50%; top: 44px; transform: translateX(-50%); z-index: 4;
  background: rgba(255, 255, 255, .90); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  padding: 20px 48px; width: min(600px, 92vw); text-align: center;
}
/* Deko: Flaggen DE ⇄ CH über der Überschrift */
.hero-card::before {
  content: "⇄"; display: flex; align-items: center; justify-content: center; height: 44px; margin-bottom: 10px;
  font-size: 30px; font-weight: 300; color: var(--teal);
  background: var(--flag-de) calc(50% - 46px) 50%/44px 44px no-repeat, var(--flag-ch) calc(50% + 46px) 50%/44px 44px no-repeat;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .12));
}
.hero-card h1 { font-size: 31px; font-weight: 700; line-height: 1.08; margin-bottom: 8px; }
.hero-card h1 em, .subhero h1 em { font-style: normal; color: var(--teal-dark); }
.hero-intro p { font-size: 14.5px; color: var(--ink-light); margin-bottom: 12px; }
.hero-companies { display: flex; justify-content: center; align-items: stretch; margin: 0 0 12px; background: rgba(0, 0, 0, .035); border: 1px solid rgba(0, 0, 0, .07); border-radius: 12px; overflow: hidden; }
.hero-companies .hc { flex: 1; padding: 13px 20px; }
.hero-companies .hc + .hc { border-left: 1px solid rgba(0, 0, 0, .10); }
.hero-companies .hc p { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; font-size: 13px; color: var(--ink-light); line-height: 1.35; text-align: left; }
.hero-companies .hc p::before { grid-row: span 2; font-size: 12px; font-weight: 600; color: var(--ink-light); letter-spacing: .05em; }
.hero-companies .hc-de p::before { content: "DE"; }
.hero-companies .hc-ch p::before { content: "CH"; }
.hero-companies .hc strong { display: block; color: var(--ink); font-size: 14px; font-weight: 700; }
.hero-sub2 p { font-size: 13.5px; color: var(--ink-light); margin: 0 0 14px; }
.hero-card .btn-row { justify-content: center; }

.hero-stats { position: relative; z-index: 5; }
.hero-stats .wrap { margin-top: -18px; }
.stats-card { background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .14); display: grid; grid-template-columns: repeat(2, 1fr); padding: 28px 18px; }
.stat { padding: 8px 18px; }
.stat + .stat { border-left: 1px solid rgba(0, 0, 0, .07); }
.stat p { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 14px; color: var(--ink-light); line-height: 1.35; }
.stat p::before { content: ""; width: 32px; height: 32px; margin-bottom: 10px; background: url("../../files/arimo/img/icon-award.svg") center/contain no-repeat; }
.stat strong { font-size: 25px; font-weight: 700; color: var(--teal-dark); margin-bottom: 5px; line-height: 1.6; }
@media (max-width: 700px) {
  .stats-card { grid-template-columns: 1fr; gap: 6px; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(0, 0, 0, .07); padding-top: 16px; }
}

/* ---------- Marktgebiet ---------- */
.map-section { padding: 100px 0 90px; }
.map-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.map-copy h2 { font-size: 32px; font-weight: 600; line-height: 1.28; margin: 8px 0 20px; }
.map-copy .content-text p { margin-bottom: 16px; max-width: 56ch; }
.legend ul { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; font-size: 14.5px; }
.legend li { position: relative; padding-left: 26px; }
.legend li::before { content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.legend li:nth-child(2)::before { background: var(--ch); }
.legend li:nth-child(3)::before { background: var(--teal); }
.map-box { background: var(--grey-bg); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.map-box img { width: 100%; border-radius: var(--radius); }

/* ---------- Dienstleistungen ---------- */
.services { background: var(--grey-bg); padding: 84px 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.services h2 { font-size: 30px; font-weight: 600; line-height: 1.3; margin-top: 10px; }
.services-grid > .content-text p { margin-bottom: 18px; max-width: 60ch; }

/* ---------- Angebote ---------- */
.offers { padding: 90px 0 70px; }
.offers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.offers h2 { font-size: 30px; font-weight: 600; margin-top: 8px; }
.more-link a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--teal-dark); border-bottom: 1.5px solid var(--teal); padding-bottom: 2px; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-img { height: 190px; background: #d8e6e4; }
.card-img figure, .card-img img { width: 100%; height: 100%; object-fit: cover; }
.country-tag { position: absolute; top: 14px; left: 14px; }
.country-tag p { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 20px; box-shadow: 0 1px 5px rgba(0, 0, 0, .12); }
.country-tag p::before { width: 13px !important; height: 13px !important; }
.card > h3 { font-size: 18px; font-weight: 600; line-height: 1.35; margin: 24px 26px 6px; }
.card .price { padding: 0 26px; }
.card .price p { font-size: 15px; margin-bottom: 18px; }
.card .facts { padding: 0 26px 28px; flex: 1; }
.facts dl { border-top: 1px solid rgba(0, 0, 0, .07); font-size: 14px; display: grid; grid-template-columns: auto 1fr; }
.facts dt, .facts dd { padding: 9px 0; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.facts dt { color: var(--ink-light); padding-right: 16px; }
.facts dd { text-align: right; }

/* ---------- Petrol-Band ---------- */
.teal-band { background: var(--teal); color: #fff; padding: 90px 0; }
.teal-band .eyebrow p { color: #fff; opacity: .85; }
.teal-band h2 { font-size: 30px; font-weight: 600; margin: 8px 0 26px; max-width: 34ch; }
.teal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; font-size: 15px; }
.teal-cols p { opacity: .94; }
.teal-cols a { color: #fff; font-weight: 700; }
.teal-cols blockquote { margin-top: 1.6em; }
.teal-cols blockquote p { font-style: italic; font-size: 18px; line-height: 1.5; }

/* ---------- Ratgeber-Karten ---------- */
.articles { background: var(--grey-bg); padding: 90px 0; }
.articles h2 { font-size: 30px; font-weight: 600; margin: 8px 0 36px; }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.art { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.art-img { height: 230px; background: #d8e6e4; }
.art-img figure, .art-img img { width: 100%; height: 100%; object-fit: cover; }
.art-body { padding: 26px 30px 30px; }
.art-cat { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-light); margin-bottom: 8px; }
.land-de .art-cat::before, .land-ch .art-cat::after { content: ""; width: 26px; height: 26px; flex: none; order: -2; background: var(--flag-de) center/contain no-repeat; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .15)); }
.land-ch .art-cat::after { order: -1; background-image: var(--flag-ch); }
.art-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; line-height: 1.35; }
.art-body p { font-size: 14.5px; margin-bottom: 16px; }
.art-link { font-size: 14px; font-weight: 600; text-decoration: none; }
.load-more { display: flex; justify-content: center; margin-top: 46px; }
.pagination { margin-top: 36px; }
.pagination ul { display: flex; justify-content: center; gap: 10px; }
.pagination a, .pagination strong { display: block; min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .12); background: var(--white); text-decoration: none; }

/* ---------- Ruhestand ---------- */
.hp-section { padding: 84px 0; }
.hp-section.grey { background: var(--grey-bg); }
.hp-section h2 { font-size: 30px; font-weight: 600; line-height: 1.3; margin: 8px 0 18px; }
.hp-section .prose { max-width: 66ch; }
.hp-section .prose p { margin-bottom: 14px; color: var(--ink-light); }
.hp-section .prose strong { color: var(--ink); }

/* ---------- Sie suchen in der Schweiz? ---------- */
.ch-cta { background: var(--black); color: #fff; }
.ch-cta-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.ch-cta-img { position: relative; background: #2a3331; }
.ch-cta-img figure, .ch-cta-img img { width: 100%; height: 100%; object-fit: cover; }
.ch-cta-img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); }
.ch-cta-copy { padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ch-cta-copy::before { content: ""; width: 44px; height: 44px; margin-bottom: 4px; background: var(--flag-ch) center/contain no-repeat; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .15)); }
.ch-cta-copy h2 { font-size: 27px; font-weight: 600; line-height: 1.3; }
.ch-cta-copy p { color: rgba(255, 255, 255, .8); font-size: 15px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #fff; padding: 70px 0 40px; border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; align-items: start; }
.foot-logo a { position: relative; display: inline-block; padding-left: 56px; min-height: 44px; text-decoration: none; color: #fff; font-size: 21px; font-weight: 300; line-height: 1.15; }
.foot-logo a::before { content: ""; position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; background: url("../../files/arimo/img/icon-pin.svg") center/contain no-repeat; }
.foot-logo strong { font-weight: 700; }
.foot-logo small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .6); }
.foot-address p { font-style: normal; font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, .85); margin-top: 26px; }
.foot-links h2 { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.foot-links p { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-logo a { text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ---------- Unterseiten ---------- */
.subhero { position: relative; color: #fff; overflow: hidden; background: #3c4a48; }
.subhero .wrap { padding-top: 92px; padding-bottom: 100px; }
.subhero .wrap > * { position: relative; z-index: 1; }
.subhero .wrap > .subhero-bg { position: absolute; inset: 0; z-index: 0; }
.subhero-bg figure, .subhero-bg img { width: 100%; height: 100%; object-fit: cover; }
.subhero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15, 25, 24, .86) 12%, rgba(15, 25, 24, .45) 80%); }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 18px; }
.crumb a { color: #fff; text-decoration: none; opacity: .85; }
.crumb a:hover { opacity: 1; }
.subhero h1 { font-size: 44px; font-weight: 700; line-height: 1.15; max-width: 18ch; margin-bottom: 16px; }
.subhero .lead p { font-size: 18px; color: rgba(255, 255, 255, .92); max-width: 50ch; margin-bottom: 30px; }
.badges ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.subhero .btn-row + .badges { margin-top: 18px; }
.badges li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 20px; }

.section { padding: 82px 0; }
.section.alt { background: var(--grey-bg); }
.section h2 { font-size: 30px; font-weight: 600; line-height: 1.3; margin: 8px 0 20px; }
.prose { max-width: 66ch; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; margin: 0 0 16px 20px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 24px; margin-top: 16px; }
.feature { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px; }
.feature::before { content: "✓"; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.feature h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-light); }

.note { border-left: 3px solid var(--teal); background: var(--teal-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; font-size: 14px; margin-top: 22px; max-width: 72ch; }
.note strong { color: var(--teal-deep); }
.todo { border-left: 3px solid #e0a83e; background: #fdf6e8; color: #7a5a12; border-radius: 0 var(--radius) var(--radius) 0; padding: 13px 18px; font-size: 13px; margin-top: 16px; max-width: 72ch; }

.cta-final { background: var(--teal); color: #fff; padding: 66px 0; }
.cta-final h2 { font-size: 28px; font-weight: 600; margin: 0 0 12px; max-width: 26ch; }
.cta-final .content-text p { opacity: .94; max-width: 54ch; margin-bottom: 24px; }

.empty { border: 2px dashed rgba(79, 179, 169, .5); background: var(--teal-soft); border-radius: var(--radius); padding: 44px 34px; text-align: center; margin-top: 16px; }
.empty h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.empty p { color: var(--ink-light); max-width: 52ch; margin: 0 auto 20px; }

.ph-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 16px; }
.ph-card { border: 1px solid rgba(0, 0, 0, .08); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.ph-img p { height: 180px; background: repeating-linear-gradient(45deg, #e9efee, #e9efee 12px, #e2ebe9 12px, #e2ebe9 24px); display: flex; align-items: center; justify-content: center; color: var(--ink-light); font-size: 13px; }
.ph-card .pb { padding: 18px 20px; color: var(--ink-light); font-size: 13.5px; }
.ph-card .pb strong { color: var(--ink); font-size: 15px; font-weight: 600; }

/* Verkaufsprozess: Nummerierung automatisch */
.steps { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; align-items: start; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-light); max-width: 74ch; }

.types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-top: 16px; }
.type { background: var(--white); border: 1px solid rgba(0, 0, 0, .08); border-radius: var(--radius); padding: 26px 24px; }
.type h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.type ul { list-style: disc; margin-left: 16px; font-size: 14px; color: var(--ink-light); }
.type li { margin-bottom: 4px; }

/* FAQ (natives FAQ-Modul) */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.faq summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 400; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq__answer p { padding: 2px 0 20px; color: var(--ink-light); font-size: 15px; max-width: 74ch; }

/* Formulare (Contao-Formulargenerator) */
.frm { max-width: 720px; margin-top: 20px; }
.frm .formbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.frm .widget { grid-column: 1 / -1; margin-bottom: 18px; }
.frm .widget.half { grid-column: auto; }
.frm label, .frm legend { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.frm span.mandatory { display: none; } /* wie Vorlage: keine Sternchen, Screenreader lesen "Pflichtfeld" */
.frm input:not([type=checkbox]):not([type=radio]), .frm select, .frm textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid rgba(0, 0, 0, .18); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.frm input:focus, .frm select:focus, .frm textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.frm textarea { min-height: 120px; resize: vertical; }
.frm fieldset { border: 0; }
.frm .check legend { display: none; }
.frm .check span { display: flex; gap: 10px; align-items: flex-start; }
.frm .check input { width: auto; margin-top: 4px; flex: none; accent-color: var(--teal); }
.frm .check label { font-weight: 400; margin: 0; font-size: 13.5px; color: var(--ink-light); }
.frm .actions { margin-top: 8px; }
.frm p.error { color: #b3261e; font-size: 13px; margin-bottom: 6px; }
.frm .error input, .frm .error select { border-color: #b3261e; }

/* Ratgeber-Detail */
.article-detail .crumb { color: var(--ink-light); }
.article-detail .crumb a { color: var(--teal-dark); }
.art-full h1 { font-size: 36px; font-weight: 700; line-height: 1.2; margin: 6px 0 8px; max-width: 30ch; }
.art-full .info { font-size: 13px; color: var(--ink-light); margin-bottom: 24px; }
.art-full-img { margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; }
.art-full .prose p { font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { min-height: 84vh; padding: 32px 0; display: flex; align-items: center; }
  .hero-card { position: relative; inset: auto; transform: none; margin: 0 auto; z-index: 6; }
  .map-grid, .services-grid, .teal-cols, .art-grid, .foot-grid, .ch-cta-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .ch-cta-img { min-height: 220px; }
}
@media (max-width: 820px) {
  .subhero h1 { font-size: 32px; }
  .frm .widget.half { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  /* Höherer Kopf mit mehr Luft unter der Länderauswahl (die .wrap-Regel oben
     setzt sonst das vertikale Padding auf 0). */
  .head-inner { gap: 12px; padding-top: 14px; padding-bottom: 18px; }
  .head-inner .logo img { height: 32px; }
  .country-switch a { padding: 5px 9px; font-size: 12px; }
  .hero-card { padding: 20px 22px; }
  .hero-companies .hc { padding: 12px; }
  .offers-head { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; row-gap: 12px; }
  .step::before { grid-row: auto; }
  .ch-cta-copy { padding: 48px 24px; }
}
@media (max-width: 420px) {
  .country-switch a { font-size: 0; gap: 0; padding: 5px 7px; }
  .country-switch a::before { width: 20px; height: 20px; }
}

