:root {
  --color-green: #363d27;
  --color-green-muted: #75765a;
  --color-brown: #43332b;
  --color-stone: #d5cec2;
  --color-silver: #9c8f7d;
  --color-paper: #eaebe6;
  --color-white: #f8f7f2;
  --color-line: rgba(234, 235, 230, .28);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --text-hero: clamp(2.25rem, 5.2vw, 4.5rem);
  --text-h2: clamp(2rem, 4vw, 4rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);
  --text-body: 1rem;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --radius: 8px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-paper); background: var(--color-green); font: 400 var(--text-body)/1.65 var(--font-body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 96px)); margin: 0 auto; }
.section { position: relative; padding: var(--space-7) 0; border-bottom: 1px solid var(--color-line); }
.section-heading { max-width: 670px; margin-bottom: var(--space-6); }
.section-heading h2 { margin: var(--space-2) 0 0; font: 600 var(--text-h2)/1.08 var(--font-display); letter-spacing: -.03em; }
.section-heading p { max-width: 560px; margin: var(--space-3) 0 0; color: rgba(234, 235, 230, .72); }
.kicker { color: var(--color-stone); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { display: inline-block; width: 24px; height: 1px; margin: 0 12px 3px 0; content: ""; background: currentColor; }
.card { border: 1px solid rgba(234, 235, 230, .8); border-radius: var(--radius); background: rgba(25, 29, 19, .18); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-3); border: 1px solid var(--color-paper); border-radius: var(--radius); color: var(--color-green); background: var(--color-paper); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { color: var(--color-green); background: var(--color-paper); transform: translateY(-2px); }
.button-quiet { color: var(--color-paper); background: transparent; }
.button-quiet:hover, .button-quiet:focus-visible { color: var(--color-green); background: var(--color-paper); }
.site-header { position: fixed; z-index: 10; top: 0; right: 0; left: 0; padding: var(--space-2) 0; border-bottom: 1px solid transparent; background: transparent; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.site-header.is-scrolled { border-color: rgba(67, 51, 43, .12); background: rgba(234, 235, 230, .78); box-shadow: 0 12px 28px rgba(24, 29, 17, .1); backdrop-filter: blur(12px); }
.site-header .container { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4); align-items: center; }
.brand-lockup { display: inline-flex; align-items: center; width: 170px; min-width: 170px; }
.brand-logo { width: 100%; height: auto; transition: opacity .35s ease, filter .35s ease; }
.brand-logo--scrolled { display: none; }
.brand-logo--white { filter: none; }
.site-header.is-scrolled .brand-logo--white { display: none; }
.site-header.is-scrolled .brand-logo--scrolled { display: block; }
.site-header .button-quiet { color: var(--color-paper); background: transparent; }
.site-header.is-scrolled .site-nav a, .site-header.is-scrolled .menu-toggle, .site-header.is-scrolled .button-quiet { color: var(--color-green); }
.site-header .button-quiet:hover, .site-header .button-quiet:focus-visible { color: var(--color-paper); background: transparent; transform: translateY(-2px) scale(1.03); box-shadow: none; }
.site-header.is-scrolled .button-quiet:hover, .site-header.is-scrolled .button-quiet:focus-visible { color: var(--color-green); background: transparent; }
.site-nav { display: flex; justify-content: center; gap: var(--space-4); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-nav a { opacity: .78; transition: opacity .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.menu-toggle { display: none; border: 0; color: var(--color-paper); background: transparent; font-size: 1.4rem; }
.hero { min-height: 780px; display: grid; place-items: center; padding: 140px 0 96px; overflow: hidden; }
.hero::before { position: absolute; z-index: 1; inset: 0; background: rgba(20, 24, 14, .4); content: ""; }
.hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; filter: saturate(.72) contrast(.92); }
.hero-content { position: relative; z-index: 1; width: min(780px, 100%); text-align: center; }
.hero h1 { margin: var(--space-3) 0; font: 600 var(--text-hero)/1.08 var(--font-display); letter-spacing: -.03em; }
.hero h1 span { color: var(--color-stone); }
.hero-subtitle { max-width: 590px; margin: 0 auto var(--space-5); color: rgba(234, 235, 230, .76); font-size: 1.08rem; }
.hero-actions { display: flex; justify-content: center; gap: var(--space-2); }
#hero { padding-bottom: 48px; border-bottom: 0; }
#usp { padding: 48px 0; border-bottom: 0; }
#usp-vorteile { padding-top: 48px; background: var(--color-paper); border-bottom: 0; }
#usp-vorteile .section-heading h2 { color: var(--color-green); }
#usp-vorteile .section-heading h2 span { color: var(--color-green-muted); }
#leistungen { padding-top: 48px; }
.logo-slider { overflow: hidden; padding: 0; }
.logo-track { width: max-content; display: flex; align-items: center; animation: logo-marquee 28s linear infinite; }
.logo-sequence { display: flex; align-items: center; gap: clamp(32px, 5.5vw, 82px); padding-right: clamp(32px, 5.5vw, 82px); }
.logo-slider:hover .logo-track { animation-play-state: paused; }
.client-logo { width: 144px; height: 51px; flex: 0 0 144px; padding: 6px; object-fit: contain; opacity: .82; }
.client-logo--invert, .client-logo--white { filter: grayscale(1) brightness(0) invert(1); }
.client-logo--medgrowth { transform: scale(1.35); }
.client-logo--stmartin { transform: scale(1.2); }
@keyframes logo-marquee { to { transform: translateX(-50%); } }
.service-intro, .about-intro, .comparison-intro, .faq-intro { width: min(610px, 58%); min-height: 180px; display: flex; align-items: center; padding: var(--space-4); }
.service-intro h2, .about-intro h2, .comparison-intro h2, .faq-intro h2 { margin: 0; font: 600 var(--text-h3)/1.2 var(--font-display); }
.service-intro-wrap, .about-intro-wrap, .comparison-intro-wrap, .faq-intro-wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); margin-bottom: var(--space-6); }
.service-intro-wrap p { max-width: 260px; margin: 0; color: rgba(234, 235, 230, .74); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.service-card { min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-4); text-align: left; transition: transform .25s ease; }
.service-card:hover, .service-card:focus-within { transform: scale(1.035); }
.service-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-stone); color: var(--color-green); transition: transform .25s ease; }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { transform: scale(1.15); }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { margin: 0; font: 700 1.05rem var(--font-body); }
.service-card p { margin: 0; color: rgba(234, 235, 230, .74); font-size: .92rem; line-height: 1.6; }
.section-heading h2 span { color: var(--color-stone); }
#leistungen { position: relative; background: url('hintergründe/zielgruppe-bg.jpg') center / cover no-repeat; border-bottom: 0; }
#leistungen::before { position: absolute; z-index: 0; inset: 0; background: rgba(20, 24, 14, .68); content: ""; }
#leistungen .container { position: relative; z-index: 1; }
#leistungen .section-heading { max-width: 820px; }
#leistungen .section-heading h2 { font-size: clamp(1.2rem, 5.2vw, 3rem); }
#leistungen .service-card { background: #fff; border-color: rgba(54, 61, 39, .1); box-shadow: 0 2px 6px rgba(54, 61, 39, .05), 0 18px 34px rgba(54, 61, 39, .1); }
#leistungen .service-card:hover, #leistungen .service-card:focus-within { box-shadow: 0 4px 10px rgba(54, 61, 39, .07), 0 24px 44px rgba(54, 61, 39, .15); }
#leistungen .service-card h3 { color: var(--color-green); }
#leistungen .service-card p { color: rgba(54, 61, 39, .68); }
#leistungen .service-icon { background: var(--color-green); color: var(--color-paper); }
#usp-vorteile .section-heading h2 { font-size: clamp(1.2rem, 5.2vw, 3rem); }
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
.reason-card { min-height: 220px; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); background: #fff; border-color: rgba(54, 61, 39, .1); box-shadow: 0 14px 30px rgba(10, 13, 7, .22); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.reason-card:hover, .reason-card:focus-within { transform: scale(1.035); border-color: rgba(54, 61, 39, .18); box-shadow: 0 26px 52px rgba(10, 13, 7, .36); }
.reason-number { font: 600 2.75rem var(--font-display); color: var(--color-green-muted); opacity: .55; line-height: 1; transition: transform .25s ease, text-shadow .25s ease; }
.reason-card:hover .reason-number, .reason-card:focus-within .reason-number { transform: scale(1.15); text-shadow: 0 14px 24px rgba(54, 61, 39, .3); }
.reason-card h3 { margin: var(--space-1) 0 0; color: var(--color-green); font: 700 1.15rem var(--font-body); }
.reason-card p { margin: 0; color: rgba(54, 61, 39, .68); font-size: .95rem; line-height: 1.6; }
#ablauf-title { font-size: clamp(1.2rem, 5.2vw, 3rem); }
#ablauf { background: var(--color-paper); }
#ablauf .section-heading { max-width: 900px; }
#ablauf .section-heading h2 { color: var(--color-green); }
#ablauf .section-heading h2 span { color: var(--color-green-muted); }
#ablauf .step-number { background: var(--color-green); border-color: var(--color-green); color: var(--color-paper); }
#ablauf .process-step.is-active .step-number { background: var(--color-green); border-color: var(--color-green); color: var(--color-paper); box-shadow: 0 0 0 6px rgba(54, 61, 39, .18), 0 16px 30px rgba(0, 0, 0, .35); }
#ablauf .process-step span:last-child { color: rgba(54, 61, 39, .72); }
.process-carousel { position: relative; overflow-x: hidden; overflow-y: visible; margin: var(--space-5) 0; padding: 20px 0; }
.process-track { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 100px; gap: var(--space-5); transition: transform .55s cubic-bezier(.22, 1, .36, .96); will-change: transform; }
.process-step { position: relative; flex: 0 0 auto; width: 112px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.step-number { width: calc(48px * var(--step-scale, .82)); height: calc(48px * var(--step-scale, .82)); display: flex; align-items: center; justify-content: center; padding-bottom: 3px; margin: 0 auto var(--space-2); border: 1px solid var(--color-paper); border-radius: 50%; background: transparent; color: var(--color-paper); font-family: var(--font-display); font-weight: 600; font-size: calc(1.35rem * var(--step-scale, .82)); line-height: 1; transition: width .5s cubic-bezier(.34, 1.56, .64, 1), height .5s cubic-bezier(.34, 1.56, .64, 1), font-size .5s cubic-bezier(.34, 1.56, .64, 1), background-color .35s ease, color .35s ease, box-shadow .4s ease, border-color .35s ease; }
.process-step:hover .step-number { box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
.process-step.is-active { --step-scale: 1.3; }
.process-step.is-active .step-number { background: var(--color-stone); color: var(--color-green); border-color: var(--color-stone); box-shadow: 0 0 0 6px rgba(213, 206, 194, .18), 0 16px 30px rgba(0, 0, 0, .35); }
.process-step span:last-child { display: block; color: rgba(234, 235, 230, .72); font-size: .75rem; line-height: 1.35; transition: opacity .35s ease; }
.process-step:not(.is-active) span:last-child { opacity: .6; }
.process-detail { min-height: 280px; padding: var(--space-5); background: var(--color-green-muted); border-color: rgba(234, 235, 230, .2); box-shadow: 0 14px 30px rgba(10, 13, 7, .22); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.process-detail:hover, .process-detail:focus-within { transform: scale(1.015); border-color: rgba(234, 235, 230, .35); box-shadow: 0 26px 52px rgba(10, 13, 7, .36); }
.process-detail-content { transition: opacity .2s ease; }
.process-detail h3 { margin: 0 0 var(--space-3); color: var(--color-paper); font: 600 var(--text-h3) var(--font-display); }
#processDetailNumber { display: inline-block; transition: transform .3s ease; }
.process-detail:hover #processDetailNumber, .process-detail:focus-within #processDetailNumber { transform: scale(1.2); }
.process-detail p { margin: var(--space-2) 0; padding-top: var(--space-2); border-top: 1px solid rgba(234, 235, 230, .25); color: rgba(234, 235, 230, .82); }
#projekte { background: var(--color-green); }
#projekte .section-heading { max-width: 1040px; }
#projekte .section-heading h2 { font-size: clamp(.95rem, 4.4vw, 2.6rem); }
#projekte .case-card figcaption strong { color: var(--color-paper); }
#projekte .case-link { color: var(--color-paper); border-color: var(--color-paper); }
#vergleich .section-heading h2 span { color: var(--color-green-muted); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-7); }
.case-card figure { height: 280px; margin: 0; overflow: hidden; border: 0; border-radius: var(--radius); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.case-card:hover img { transform: scale(1.03); }
.case-card figcaption { padding-top: var(--space-2); text-align: center; }
.case-card figcaption strong { display: block; color: var(--color-brown); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.case-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: var(--space-2); padding: 0 var(--space-3); border: 1px solid var(--color-brown); border-radius: var(--radius); background: transparent; color: var(--color-brown); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: transform .25s ease, box-shadow .25s ease; }
.case-link:hover, .case-link:focus-visible { transform: scale(1.06); box-shadow: 0 14px 26px rgba(67, 51, 43, .28); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; height: 640px; padding: 0; }
.about-image-half { position: relative; overflow: hidden; }
.about-image-half img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-text-half { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-6) var(--space-5); overflow: hidden; }
.about-text-fixed { flex: 0 0 auto; max-width: 560px; width: 100%; }
.scroll-hint { position: absolute; z-index: 1; right: var(--space-5); bottom: var(--space-3); left: var(--space-5); display: flex; align-items: center; justify-content: center; gap: 6px; padding: 40px 0 0; border: 0; background: linear-gradient(to bottom, transparent, var(--color-green) 55%); color: rgba(234, 235, 230, .85); font: 700 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: opacity .3s ease, color .2s ease; animation: scroll-hint-bounce 1.8s ease-in-out infinite; }
.scroll-hint:hover, .scroll-hint:focus-visible { color: var(--color-paper); }
.scroll-hint svg { width: 16px; height: 16px; }
.scroll-hint.is-hidden { opacity: 0; }
@keyframes scroll-hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.about-text-inner { flex: 1 1 auto; min-height: 0; max-width: 560px; width: 100%; overflow-y: auto; padding-right: var(--space-3); scrollbar-width: thin; scrollbar-color: rgba(234, 235, 230, .4) transparent; }
.about-text-inner::-webkit-scrollbar { width: 6px; }
.about-text-inner::-webkit-scrollbar-thumb { background: rgba(234, 235, 230, .35); border-radius: 3px; }
.about-text-fixed h2 { margin: 0 0 var(--space-3); font: 600 clamp(1.2rem, 5.2vw, 3rem)/1.08 var(--font-display); letter-spacing: -.03em; }
.about-text-fixed h2 span { color: var(--color-stone); }
.about-text-inner p { margin: 0 0 var(--space-2); color: rgba(234, 235, 230, .76); font-size: .92rem; line-height: 1.6; }
.about-text-inner p:last-child { margin-bottom: 0; }
#vergleich { background: var(--color-paper); }
#vergleich .section-heading h2 { color: var(--color-green); }
#vergleich-title { font-size: clamp(1.2rem, 5.2vw, 3rem); }
.comparison-table-wrap { overflow: auto hidden; -webkit-overflow-scrolling: touch; border: 1px solid rgba(54, 61, 39, .12); border-radius: var(--radius); background: #fff; box-shadow: 0 -10px 26px rgba(54, 61, 39, .14), 0 10px 24px rgba(54, 61, 39, .16), 0 36px 64px rgba(54, 61, 39, .3); }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: var(--space-3) var(--space-3); text-align: left; }
.comparison-table thead th { border-bottom: 1px solid rgba(54, 61, 39, .14); color: var(--color-green); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table thead th:not(:first-child) { width: 150px; text-align: center; }
.comparison-table thead th:nth-child(2) { color: var(--color-green-muted); }
.comparison-table tbody tr:not(:first-child) td { border-top: 1px solid rgba(54, 61, 39, .1); }
.comparison-table tbody td:first-child { font-weight: 600; color: var(--color-green); }
.comparison-table th:nth-child(2), .comparison-table td:nth-child(2) { background: rgba(117, 118, 90, .1); }
.comparison-table td.yes, .comparison-table td.no { width: 150px; text-align: center; }
.comparison-table td.yes::before, .comparison-table td.no::before { display: inline-block; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; font-size: .85rem; font-weight: 700; }
.comparison-table td.yes::before { content: "✓"; color: #fff; background: var(--color-green-muted); }
.comparison-table td.no::before { content: "✕"; color: rgba(54, 61, 39, .4); background: rgba(54, 61, 39, .08); }
.faq-intro-wrap { justify-content: flex-start; }
.faq-list { display: grid; gap: var(--space-2); }
.faq-item { overflow: hidden; background: #fff; border-color: rgba(54, 61, 39, .1); box-shadow: 0 14px 30px rgba(10, 13, 7, .18); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.faq-item:hover, .faq-item[open] { transform: scale(1.015); border-color: rgba(54, 61, 39, .18); box-shadow: 0 26px 50px rgba(10, 13, 7, .3); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 72px; padding: 0 var(--space-3); color: var(--color-green); font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { flex: 0 0 auto; width: 20px; height: 20px; color: var(--color-green-muted); transition: transform .3s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
#faq-title { font-size: clamp(1.2rem, 5.2vw, 3rem); }
.faq-answer { margin: 0; padding: 0 var(--space-3) var(--space-3); color: rgba(54, 61, 39, .7); }
.closing { position: relative; display: grid; place-items: center; min-height: 680px; text-align: center; background: url('hintergründe/kontakt-bg.jpg') center / cover no-repeat; border-bottom: 0; }
.closing::before { position: absolute; z-index: 0; inset: 0; background: rgba(20, 24, 14, .68); content: ""; }
.closing-content { position: relative; z-index: 1; }
.closing-content { width: min(660px, 100%); }
.closing h2 { margin: var(--space-3) 0; font: 600 var(--text-h2)/1.08 var(--font-display); }
.closing h2 span { color: var(--color-stone); }
.closing p { margin: 0 auto var(--space-5); color: rgba(234, 235, 230, .72); }
.button-closing { background: rgba(234, 235, 230, .16); border-color: rgba(234, 235, 230, .5); color: var(--color-paper); backdrop-filter: blur(4px); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button-closing:hover, .button-closing:focus-visible { background: rgba(234, 235, 230, .26); transform: translateY(-2px) scale(1.05); box-shadow: 0 18px 34px rgba(10, 13, 7, .35); }
#faq { border-bottom: 0; }
.site-footer { padding: var(--space-3) 0; border-top: 0; }
.closing .site-footer { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: rgba(20, 24, 14, .5); backdrop-filter: blur(3px); }
.site-footer .container { display: flex; justify-content: space-between; gap: var(--space-2); color: rgba(234, 235, 230, .64); font-size: .72rem; }
.case-hero { min-height: 420px; display: flex; align-items: flex-end; padding: 160px 0 var(--space-6); }
.case-hero .container { width: min(820px, calc(100% - 96px)); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--color-stone); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.back-link:hover, .back-link:focus-visible { color: var(--color-paper); }
.case-back-bottom { display: flex; justify-content: center; padding-top: var(--space-5); }
.back-link--solid { padding: 12px 26px; border: 1px solid rgba(234, 235, 230, .4); border-radius: 999px; color: rgba(234, 235, 230, .85); background: transparent; transition: transform .25s ease, box-shadow .25s ease, color .2s ease, border-color .2s ease; }
.back-link--solid:hover, .back-link--solid:focus-visible { color: var(--color-paper); border-color: rgba(234, 235, 230, .7); transform: translateY(-3px); box-shadow: 0 14px 26px rgba(20, 24, 14, .18); }
.case-hero .kicker { margin-bottom: var(--space-2); }
.case-hero h1 { margin: 0; font: 600 var(--text-hero)/1.05 var(--font-display); letter-spacing: -.03em; }
.case-hero.has-photo { position: relative; min-height: 365px; display: grid; place-items: center; padding: 84px 0 var(--space-4); overflow: hidden; text-align: center; border-bottom: 0; }
#case-content { padding: var(--space-7) 0 var(--space-5); border-bottom: 0; }
.case-hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-hero.has-photo::before { position: absolute; z-index: 1; inset: 0; content: ""; background: rgba(20, 24, 14, .5); }
.case-hero--flat { background: var(--color-green); }
.case-hero--flat::before { display: none; }
#legal-content { border-bottom: 0; }
.case-hero.has-photo .container { position: relative; z-index: 2; width: min(820px, calc(100% - 96px)); display: flex; flex-direction: column; align-items: center; }
.case-hero.has-photo h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); text-shadow: 0 16px 40px rgba(0, 0, 0, .55), 0 4px 12px rgba(0, 0, 0, .4); }
.case-hero-client { margin: var(--space-2) 0 0; color: rgba(255, 255, 255, .8); font: 700 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.case-hero.has-photo .back-link { align-self: center; margin: var(--space-4) 0 0; padding: 10px 22px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .1); backdrop-filter: blur(4px); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.case-hero.has-photo .back-link:hover, .case-hero.has-photo .back-link:focus-visible { color: #fff; background: rgba(255, 255, 255, .22); transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 26px rgba(0, 0, 0, .3); }
.case-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.case-body-grid .card { padding: var(--space-4); }
.case-body-grid h3 { margin: 0 0 var(--space-2); font: 600 1.15rem var(--font-display); }
.case-body-grid p { margin: 0; color: rgba(234, 235, 230, .74); }
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; padding: var(--space-6) 0; }
.case-split--reverse .case-split-media { order: 2; }
.case-split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.case-split-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-video { transition: transform .3s ease, box-shadow .3s ease; }
.case-video:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 24px 48px rgba(20, 24, 14, .28); }
.case-video a { position: relative; display: block; width: 100%; height: 100%; }
.case-video::after { position: absolute; z-index: 1; inset: 0; content: ""; background: rgba(20, 24, 14, .22); transition: background .25s ease; pointer-events: none; }
.case-video:hover::after { background: rgba(20, 24, 14, .1); }
.play-button { position: absolute; z-index: 2; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(234, 235, 230, .92); color: var(--color-green); box-shadow: 0 14px 30px rgba(10, 13, 7, .4); transform: translate(-50%, -50%) scale(1); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .25s ease; }
.play-button svg { width: 30px; height: 30px; margin-left: 4px; }
.case-video:hover .play-button { transform: translate(-50%, -50%) scale(1.1); background: #fff; }
.case-split-text h2 { margin: var(--space-2) 0 var(--space-3); color: var(--color-paper); font: 600 var(--text-h2)/1.1 var(--font-display); letter-spacing: -.03em; }
.case-split-text p { margin: 0 0 var(--space-3); color: rgba(234, 235, 230, .78); line-height: 1.7; }
.case-split-text--scroll { display: flex; flex-direction: column; overflow: hidden; max-height: 420px; }
.case-split-text-inner { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: var(--space-3); scrollbar-width: thin; scrollbar-color: rgba(54, 61, 39, .3) transparent; }
.case-split-text-inner::-webkit-scrollbar { width: 6px; }
.case-split-text-inner::-webkit-scrollbar-thumb { background: rgba(54, 61, 39, .25); border-radius: 3px; }
.case-scroll-hint { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 8px 0 0; border: 0; background: none; color: rgba(234, 235, 230, .75); font: 700 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s ease; animation: scroll-hint-bounce 1.8s ease-in-out infinite; }
.case-scroll-hint svg { width: 16px; height: 16px; }
.case-scroll-hint:hover, .case-scroll-hint:focus-visible { color: var(--color-paper); }
.case-scroll-hint.is-hidden { display: none; }
.case-gallery-heading { text-align: center; margin: 0 auto var(--space-5); max-width: 520px; }
.case-gallery-heading h2 { margin: var(--space-2) 0 0; color: var(--color-paper); font: 600 clamp(1.4rem, 3vw, 2.2rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.case-gallery-carousel { position: relative; padding-bottom: var(--space-6); }
.case-split + .case-gallery-carousel { padding-top: var(--space-6); }
.case-gallery-viewport { overflow: hidden; border-radius: var(--radius); }
.case-gallery-track { display: flex; gap: var(--space-3); cursor: grab; touch-action: pan-y; }
.case-gallery-track.is-dragging { cursor: grabbing; }
.case-gallery-item { position: relative; flex: 0 0 calc((100% - 2 * var(--space-3)) / 3); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; transition: transform .3s ease, box-shadow .3s ease; }
.case-gallery-item:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 40px rgba(20, 24, 14, .25); z-index: 2; }
.case-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.case-gallery-nav { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }
.gallery-nav-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-paper); background: transparent; color: var(--color-paper); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.gallery-nav-btn svg { width: 18px; height: 18px; }
.gallery-nav-btn:hover { background: transparent; color: var(--color-paper); transform: translateY(-3px) scale(1.08); box-shadow: 0 14px 26px rgba(20, 24, 14, .22); }
.case-quote { max-width: 900px; margin: var(--space-7) auto; padding: 0 var(--space-4); text-align: center; }
#case-content .case-quote:last-of-type { margin-bottom: var(--space-4); }
.case-quote--gallery { max-width: 960px; margin: var(--space-7) auto; }
.case-quote p { margin: 0; color: var(--color-stone); font: 600 clamp(1.5rem, 3.2vw, 2rem)/1.5 var(--font-display); font-style: italic; }
.case-quote span { display: block; margin-top: var(--space-3); color: rgba(234, 235, 230, .65); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.case-quote span strong { font-weight: 700; }
.case-quote--gallery p { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.case-quote--gallery span { max-width: 480px; margin-left: auto; margin-right: auto; font-size: .62rem; letter-spacing: .07em; }
.case-related { padding: var(--space-5) 0 var(--space-7); border-bottom: 0; }
body.case-page { min-height: 100vh; background: linear-gradient(to bottom, var(--color-green-muted) 0%, var(--color-paper) 100%) no-repeat; }
body.case-page .kicker { color: var(--color-green-muted); }
body.case-page .site-footer .container { color: rgba(54, 61, 39, .6); }
body.case-project { background: var(--color-green); }
body.case-project .kicker { color: var(--color-stone); }
body.case-project .site-footer .container { color: rgba(234, 235, 230, .6); }
body.case-project .case-link { color: var(--color-paper); border-color: var(--color-paper); }
.case-related .section-heading h2 { color: var(--color-paper); }
.case-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.case-related-card figure { margin: 0; height: 220px; border-radius: var(--radius); overflow: hidden; }
.case-related-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.case-related-card:hover img { transform: scale(1.04); }
.case-related-card strong { display: block; margin-top: var(--space-2); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-paper); }
.case-related-card a.case-link { margin-top: var(--space-2); }
.legal-text { max-width: 760px; margin: 0 auto; }
.legal-text h2 { margin: var(--space-5) 0 var(--space-2); color: var(--color-green); font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--font-display); letter-spacing: -.01em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { margin: var(--space-4) 0 var(--space-2); color: var(--color-green); font: 700 .95rem var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.legal-text p { margin: 0 0 var(--space-3); color: rgba(54, 61, 39, .78); line-height: 1.75; }
.legal-text ul { margin: 0 0 var(--space-3); padding-left: var(--space-3); color: rgba(54, 61, 39, .78); line-height: 1.75; }
.legal-text li { margin-bottom: 6px; }
.legal-text a { color: var(--color-green); text-decoration: underline; text-underline-offset: 3px; }
.legal-block { max-width: 760px; margin: 0 0 var(--space-3); padding: var(--space-4); }
.legal-block h3 { margin: 0 0 var(--space-2); font: 600 1.1rem var(--font-display); }
.legal-block p { margin: 0; color: rgba(234, 235, 230, .74); line-height: 1.7; }
.booking-cta { margin-top: var(--space-6); padding: var(--space-5); border: 1px solid rgba(234, 235, 230, .8); border-radius: var(--radius); background: rgba(25, 29, 19, .18); text-align: center; }
.booking-cta p { margin: 0 auto var(--space-3); max-width: 480px; color: rgba(234, 235, 230, .74); }
@media (max-width: 800px) {
  .container { width: min(100% - 40px, var(--container)); }
  .site-header .container { grid-template-columns: 1fr auto; }
  .brand-lockup { width: 145px; min-width: 145px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 74px; right: 20px; left: 20px; display: none; flex-direction: column; gap: var(--space-2); padding: var(--space-2); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-green); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: var(--space-1); }
  .site-header .button { display: none; }
  .hero { min-height: 720px; padding-top: 130px; }
  .section { padding: var(--space-6) 0; }
  .service-grid, .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .service-intro, .about-intro, .comparison-intro, .faq-intro { width: 100%; }
  .service-intro-wrap, .about-intro-wrap, .comparison-intro-wrap, .faq-intro-wrap { display: block; }
  .service-intro-wrap p { margin-top: var(--space-2); }
  .process-track { gap: var(--space-3); }
  .process-step { width: 88px; }
  .case-grid, .about-split { grid-template-columns: 1fr; }
  .about-split { height: auto; padding: 0; }
  .about-image-half { min-height: 360px; }
  .about-text-half, .about-text-inner { max-height: none; overflow: visible; }
  .about-text-half { padding: var(--space-5) var(--space-4); }
  .scroll-hint { display: none; }
  .site-footer .container { flex-direction: column; }
  .case-body-grid { grid-template-columns: 1fr; }
  .case-split, .case-split--reverse .case-split-media { grid-template-columns: 1fr; order: 0; }
  .case-split-media { aspect-ratio: 16 / 10; }
  .case-split-text--scroll { height: auto; max-height: none; overflow: visible; }
  .case-split-text-inner { overflow-y: visible; padding-right: 0; }
  .case-scroll-hint { display: none; }
  .case-related-grid { grid-template-columns: 1fr; }
  .case-gallery-item { flex-basis: calc((100% - var(--space-3)) / 2); }
}
@media (max-width: 520px) {
  .container { width: min(100% - 32px, var(--container)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .service-grid, .reasons-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 150px; }
  #hero { padding-bottom: 40px; }
  #usp { padding: 40px 0; }
  #usp-vorteile { padding-top: 40px; }
  #leistungen { padding-top: 40px; }
  .client-logo { width: 118px; height: 45px; flex-basis: 118px; padding: 5px; }
  .case-gallery-item { flex-basis: 100%; }
}

/* Video modal */
.video-modal-overlay { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: var(--space-4); background: rgba(20, 24, 14, .85); opacity: 0; transition: opacity .25s ease; }
.video-modal-overlay[hidden] { display: none; }
.video-modal-overlay.is-visible { opacity: 1; }
.video-modal { position: relative; width: min(900px, 100%); }
.video-modal-close { position: absolute; top: -48px; right: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.video-modal-close:hover, .video-modal-close:focus-visible { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }
.video-modal-frame-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.video-modal-frame-wrap.is-vertical { aspect-ratio: 400 / 720; max-width: 400px; max-height: 88vh; margin: 0 auto; background: #fff; }
.video-modal-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-frame-wrap .instagram-media { position: absolute !important; inset: 0; width: 100% !important; min-width: 0 !important; height: 100% !important; margin: 0 !important; }

/* Contact modal */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--space-3); background: rgba(20, 24, 14, .72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-visible { opacity: 1; }
.modal { position: relative; width: min(560px, 100%); max-height: min(88vh, 780px); overflow-y: auto; padding: var(--space-6) var(--space-5); border-radius: calc(var(--radius) * 2); background: #fff; box-shadow: 0 30px 70px rgba(10, 13, 7, .45); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .3s cubic-bezier(.22, 1, .36, .96), opacity .3s ease; }
.modal-overlay.is-visible .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-close { position: absolute; top: var(--space-3); right: var(--space-3); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(54, 61, 39, .2); border-radius: 50%; background: transparent; color: var(--color-green); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.modal-close:hover, .modal-close:focus-visible { background: rgba(54, 61, 39, .08); transform: rotate(90deg); }
.modal h2 { margin: 0 0 var(--space-4); padding-right: var(--space-6); color: var(--color-green); font: 600 1.5rem/1.2 var(--font-display); letter-spacing: -.02em; }
.modal h3 { margin: 0 0 var(--space-1); color: var(--color-green); font: 700 .95rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; }
.modal-body > p { margin: 0 0 var(--space-4); color: rgba(54, 61, 39, .72); line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-field { margin-bottom: var(--space-3); text-align: left; }
.form-field label { display: block; margin-bottom: 6px; color: var(--color-green); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(54, 61, 39, .22); border-radius: var(--radius); background: rgba(54, 61, 39, .03); color: var(--color-green); font: 400 .95rem var(--font-body); transition: border-color .2s ease, background .2s ease; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-green-muted); background: #fff; }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #b3413a; }
.form-field .field-error { display: none; margin-top: 4px; color: #b3413a; font-size: .74rem; }
.form-field.has-error .field-error { display: block; }
.form-privacy { margin: var(--space-2) 0 var(--space-4); color: rgba(54, 61, 39, .55); font-size: .74rem; line-height: 1.6; }
.form-error { display: none; margin-bottom: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius); background: rgba(179, 65, 58, .1); color: #8f342e; font-size: .85rem; }
.form-error.is-visible { display: block; }
#formSubmit { width: 100%; }
#formSubmit[disabled] { opacity: .6; cursor: not-allowed; }
.modal-success { display: none; padding: var(--space-5) 0; text-align: center; }
.modal-success.is-visible { display: block; }
.modal-success p { margin: 0; color: var(--color-green); font: 600 1.2rem var(--font-display); }
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: var(--space-5) var(--space-4); }
}
