/* Service-Seiten: Hero, Vorher/Nachher-Slider, Karten, Schritte */
.flex-container-main.svc-page { max-width: 1100px; }
.svc-page > .svc { flex: 0 0 100%; width: 100%; max-width: none; box-sizing: border-box; padding: 0 0 32px; margin: 0; display: grid; gap: 40px; }
.svc * { box-sizing: border-box; }

.svc-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 44px 40px; color: #fff; background: radial-gradient(1200px 400px at 90% -20%, rgba(255,189,0,.55), transparent 60%), linear-gradient(135deg, #1c1a1b 0%, #2c2a2b 60%, #3a2f12 100%); box-shadow: var(--shadow); }
.svc-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255,189,0,.18); }
.svc-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.svc-hero h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; color: #fff; text-align: left; }
.svc-hero p { margin: 0; max-width: 56ch; font-size: 1.06rem; line-height: 1.6; color: rgba(255,255,255,.86); text-align: left; position: relative; z-index: 1; }
.svc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.svc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 650; text-decoration: none; background: var(--brand); color: #1c1a1b; transition: transform .15s, background .15s; }
.svc-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.svc-btn.alt { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.svc-btn.alt:hover { background: rgba(255,255,255,.2); }

.svc-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; position: relative; z-index: 1; }
.svc-badge { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .85rem; }

.svc-sec h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 3vw, 1.8rem); text-align: left; }
.svc-sec .lead { margin: 0 0 20px; color: var(--ink-soft); max-width: 62ch; line-height: 1.6; text-align: left; }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
.svc-card h3 { margin: 0 0 6px; font-size: 1.05rem; text-align: left; }
.svc-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; text-align: left; }

/* Vorher/Nachher */
.cmp { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.cmp-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; touch-action: pan-y; user-select: none; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; box-shadow: none; max-width: none; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 14px rgba(0,0,0,.35); pointer-events: none; }
.cmp-handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.cmp-handle i::before, .cmp-handle i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.cmp-handle i::before { left: 6px; border-right-color: #1c1a1b; border-left-width: 0; }
.cmp-handle i::after { right: 6px; border-left-color: #1c1a1b; border-right-width: 0; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100vh; }
.cmp-range::-moz-range-thumb { width: 46px; height: 100vh; border: 0; }
.cmp-stage:has(.cmp-range:focus-visible) { outline: 3px solid var(--brand); outline-offset: -3px; }
.cmp-tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(28,26,27,.78); color: #fff; backdrop-filter: blur(4px); pointer-events: none; }
.cmp-tag-b { left: 12px; }
.cmp-tag-a { right: 12px; background: var(--brand); color: #1c1a1b; }
.cmp figcaption { padding: 12px 18px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cmp figcaption::after { content: "← ziehen →"; font-size: .78rem; font-weight: 500; color: var(--ink-soft); }
.cmp.cmp-used figcaption::after { content: ""; }

/* Schritte */
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.svc-steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 52px 18px 20px; box-shadow: var(--shadow); line-height: 1.5; }
.svc-steps li::before { content: counter(s); position: absolute; top: 16px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #1c1a1b; font-weight: 800; display: grid; place-items: center; }
.svc-steps b { display: block; margin-bottom: 4px; }

.svc-stat { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.svc-stat strong { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; color: var(--brand-ink); }
.svc-stat span { flex: 1 1 260px; line-height: 1.6; }
.svc-warn { border-left: 5px solid var(--brand); background: #fff8e1; padding: 16px 20px; border-radius: 12px; line-height: 1.6; }

.svc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: center; }
.svc-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.svc-photo img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; box-shadow: none; }
.svc-split p { line-height: 1.7; text-align: left; }

.svc-end { text-align: center; background: linear-gradient(135deg, #ffbd00, #ff9d00); border-radius: 22px; padding: 34px 24px; color: #1c1a1b; }
.svc-end h2 { margin: 0 0 8px; text-align: center; color: #1c1a1b; }
.svc-end p { margin: 0 0 18px; text-align: center; }
.svc-end .svc-btn { background: #1c1a1b; color: #fff; }
.svc-end .svc-btn:hover { background: #000; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) { .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .svc-hero { padding: 30px 22px; border-radius: 18px; }
    .svc-grid, .svc-grid.three, .svc-steps, .svc-split { grid-template-columns: 1fr; }
    .svc-page > .svc { gap: 30px; }
}

/* Menü immer über Seiteninhalt */
.topnav { z-index: 50; }

/* Startseite */
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #1c1a1b 0%, #2c2a2b 70%, #3a2f12 100%); box-shadow: var(--shadow); color: #fff; }
.home-copy { padding: 40px 36px; align-self: center; }
.home-copy h1 { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.12; color: #fff; text-align: left; }
.home-copy p { margin: 0; line-height: 1.6; color: rgba(255,255,255,.86); text-align: left; }
.home-photo { position: relative; min-height: 280px; }
.home-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0; border-radius: 0; box-shadow: none; max-width: none; }
.home-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2c2a2b 0%, rgba(44,42,43,0) 22%); }
.svc-link { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; border-top: 4px solid var(--brand); }
a.svc-link:hover { transform: translateY(-3px); border-color: var(--brand-dark); }
.svc-card:not(.svc-link) { border-top: 4px solid var(--line); }
.svc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-stats div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; }
.svc-stats strong { display: block; font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--brand-ink); line-height: 1.1; }
.svc-stats span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .92rem; }
.home-video { max-width: 640px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.home-video video { display: block; width: 100%; height: auto; margin: 0; }
@media (max-width: 760px) {
    .home-hero { grid-template-columns: 1fr; }
    .home-photo { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
    .home-photo::after { background: linear-gradient(0deg, #2c2a2b 0%, rgba(44,42,43,0) 30%); }
    .home-copy { padding: 26px 22px 30px; }
    .svc-stats { grid-template-columns: 1fr; }
}
.svc-card h3 { color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.svc-card h3::after { display: none; }

/* Kontakt */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ct-form h2 { margin: 0 0 14px; font-size: 1.3rem; text-align: left; }
.ct-form form { max-width: none; text-align: left; }
.ct-form fieldset { border: 0; margin: 0; padding: 0; }
.ct-form label:not(.ct-check) { display: block; margin: 14px 0 6px; font-weight: 650; font-size: .9rem; color: var(--ink); }
.ct-form input.txtbox, .ct-form textarea.txtbox { display: block; width: 100%; margin: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; text-align: left; background: #fff; }
.ct-form textarea.txtbox { min-height: 170px; resize: vertical; line-height: 1.5; }
.ct-form input.txtbox:focus, .ct-form textarea.txtbox:focus { outline: none; border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(255,189,0,.28); }
.ct-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 6px; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.ct-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: #e5a900; }
.ct-form .actions { margin-top: 14px; }
.ct-form input[type=submit] { width: 100%; padding: 14px 20px; border-radius: 999px; font-size: 1.02rem; }
.ct-side { display: grid; gap: 16px; }
.ct-side .svc-card p { line-height: 1.7; }
.ct-side .svc-card a { color: var(--brand-ink); }
.ct-map { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); border: 1px solid var(--line); }
.ct-map #googlecookie { min-height: 300px; }
.ct-map #googlecookie:empty::before { content: "Die Karte wird nach Zustimmung zu den Cookies (Statistik) angezeigt."; display: grid; place-items: center; min-height: 300px; padding: 20px; text-align: center; color: var(--ink-soft); }
.ct-map iframe { display: block; width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } }
