/* R.O Gartenpflege & Hausreinigung – Styles */

/* Schriften lokal (keine Verbindung zu Google) */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-sans-3-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-sans-3-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --green: #1F4D3A;
  --green-leaf: #2F8F5B;
  --green-text: #2F6B4F;
  --green-light: #9FD3B5;
  --green-wash: #E7EEE4;
  --blue: #1D5FA8;
  --blue-light: #A9CDF2;
  --blue-wash: #E7F0FA;
  --ink: #1B2A21;
  --text: #4A4E45;
  --muted: #6D6B60;
  --line: #E5DDCD;
  --soft: #F6F1E7;
  --page: #FFFDF9;
  --gold: #B8904F;
  --cream: #EFE6D2;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(20, 35, 28, .06), 0 4px 12px rgba(20, 35, 28, .05);
  --shadow-lg: 0 2px 4px rgba(20, 35, 28, .06), 0 12px 28px rgba(20, 35, 28, .08);
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--page); overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-leaf); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.c-green { color: var(--green); }
.c-blue { color: var(--blue); }
.icon { flex: none; }
.visually-hidden { 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: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: var(--white); }

/* Typografie */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; hyphens: auto; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.25; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; overflow-wrap: break-word; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); }
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; margin-right: 10px; background: var(--gold); vertical-align: middle; transform: translateY(-1px); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--text); max-width: 600px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: #B9C4BC; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--page); color: var(--ink); }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Kopfzeile */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,253,249,.94); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), background-color .35s, border-color .35s, box-shadow .35s;
}
.header.is-scrolled { border-color: rgba(20, 35, 28, .08); box-shadow: 0 8px 24px rgba(20, 35, 28, .05); }
.header.is-hidden { transform: translateY(-100%); }
.brand, .nav__link, .nav__sub-toggle, .brand__sub span { transition: color .35s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.header.is-scrolled .header__inner { min-height: calc(var(--header-h) - 10px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand__sub { font-family: var(--font-head); font-weight: 700; font-size: 12px; }
.brand--light { color: var(--white); }
.brand--light img { background: var(--white); }
.brand--light .brand__sub { color: #B9CCC1; }

.nav { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.nav__link { position: relative; color: var(--ink); text-decoration: none; padding: 10px 14px; }
.nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link[aria-current] { color: var(--green); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__cta { margin-left: 16px; min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 999px; }
.nav__item--mega { position: relative; display: flex; align-items: center; }
.nav__sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; margin-left: -8px; border: 0; background: none; cursor: pointer; border-radius: 6px; color: var(--ink); }
.nav__sub-toggle .icon { transition: transform .2s; }
.nav__item--mega.is-open .nav__sub-toggle .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: -20px; z-index: 10;
  display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 8px 24px;
  padding: 24px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) {
  .nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
}
.mega__title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; padding: 0 10px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mega a .icon { color: var(--green-leaf); }
.mega__col:last-child a .icon { color: var(--blue); }
.mega a:hover { background: var(--soft); color: var(--green); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--page); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ''; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(86vh, 820px); overflow: hidden; background: var(--ink); color: var(--white); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: hero-zoom 2.4s var(--ease) both; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 30, 22, .8) 0%, rgba(15, 30, 22, .5) 42%, rgba(15, 30, 22, 0) 72%), linear-gradient(0deg, rgba(15, 30, 22, .5) 0%, rgba(15, 30, 22, 0) 45%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 96px; }
.hero__text { max-width: 660px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { color: var(--white); font-size: clamp(38px, 4.4vw, 88px); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; }
.hero .eyebrow { color: var(--cream); }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero__text > * { animation: rise .9s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }

/* Hero-Bewegung: Titel Wort für Wort, wechselnde Leistung, langsam driftendes Foto */
.hero .hero__bg { animation: hero-zoom 2.4s var(--ease) both, hero-drift 28s ease-in-out 2.4s infinite alternate; }
@keyframes hero-drift { to { scale: 1.07; translate: -1.5% -1%; } }
.hero h1 { animation: none; }
.hero h1 .w { display: inline-block; animation: word-in 1.1s var(--ease) both; animation-delay: calc(.2s + var(--i) * .16s); }
@keyframes word-in { from { opacity: 0; transform: translateY(.3em); filter: blur(10px); } }
/* Text und Buttons erst nach dem Titel */
.hero__text > .lead { animation-delay: 1s; }
.hero__text > .hero__actions { animation-delay: 1.2s; }
.ticker { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: bottom; }
.ticker > span { display: block; animation: ticker 12s var(--ease) 1.2s infinite; }
@keyframes ticker {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-1.3em); }
  40%, 56% { transform: translateY(-2.6em); }
  60%, 76% { transform: translateY(-3.9em); }
  80%, 96% { transform: translateY(-5.2em); }
  100% { transform: translateY(-6.5em); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-zoom { from { scale: 1.08; } }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--center { justify-content: center; }
.hero__frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero__frame img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }

/* Faktenleiste */
.facts { background: var(--page); border-bottom: 1px solid var(--line); margin-top: 8px; }
.facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__list li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 20px; border-left: 1px solid var(--line); font-size: 15px; color: var(--text); line-height: 1.4; }
.facts__list li:first-child { border-left: 0; padding-left: 0; }
.facts__list .icon { color: var(--green); margin-top: 1px; }
.facts__list strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--ink); margin-bottom: 2px; }

.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 16px; color: var(--text); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before {
  content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--green-wash)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Abschnitte */
.section { padding: 96px 0; position: relative; }
.section--tight { padding-top: 32px; }
.section--soft { background: var(--soft); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--green-light); }
.section--dark .section__intro p:not(.eyebrow) { color: #D5E0D9; }
.section__head { margin-bottom: 44px; display: flex; flex-direction: column; gap: 12px; }
.section__head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--center { align-items: center; text-align: center; }
.section__intro { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.section__intro p:not(.eyebrow) { color: var(--text); }

/* Leistungen: Foto-Kacheln */
.tiles-group + .tiles-group { margin-top: 56px; }
.tiles-group__title { font-size: 24px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); isolation: isolate; }
.tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 30, 22, 0) 30%, rgba(15, 30, 22, .9) 100%); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.tile__title { color: var(--white); font-size: 22px; line-height: 1.2; text-wrap: balance; hyphens: manual; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.tile__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.tile__more .icon { transition: transform .3s var(--ease); }
.tile:hover { color: var(--white); }
.tile:hover .tile__img { scale: 1.06; }
.tile:hover .tile__more .icon { transform: translateX(4px); }

/* Einsatzgebiet: Orte in Spalten */
.area-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.area-cols__title { font-family: var(--font-head); font-weight: 700; color: var(--ink); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--gold); }
.area-cols ul { display: flex; flex-direction: column; gap: 8px; color: var(--text); }

/* Illustration (Leistungen ohne Foto) */
.illu { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); }
.illu--garten { background: var(--green-wash); color: var(--green-leaf); }
.illu__icon { stroke-width: 1.4; opacity: .85; }

/* Ablauf */
.ablauf { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 900px; text-align: center; }
.ablauf__text { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; color: var(--ink); text-wrap: balance; }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.about__photo { margin: 0; border-radius: 8px; overflow: hidden; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__text { display: flex; flex-direction: column; gap: 40px; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 40px; }
.pillar { display: flex; flex-direction: column; gap: 8px; }
.pillar__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--green); margin-bottom: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.pillar h3 { font-size: 20px; }
.pillar p { color: var(--text); font-size: 16px; }

/* Projekte */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale .6s var(--ease); }
.gallery__item:hover img { scale: 1.04; }
.caption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.project-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.project-card img, .project-card__empty { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; background: var(--green-wash); display: block; transition: transform .6s var(--ease); }
.project-card:hover img { transform: scale(1.03); }
.project-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.project-card__body strong { font-family: var(--font-head); font-size: 19px; line-height: 1.3; }
.project-card__meta { font-size: 14px; color: var(--muted); }
.badge { align-self: flex-start; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); font-size: 13px; font-weight: 600; }
.empty-state { padding: 48px; text-align: center; border: 1px dashed #C6D3CA; border-radius: var(--radius); color: var(--text); }

/* Einsatzgebiet */
.area-teaser, .area-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.area-teaser .chips { justify-content: flex-start; align-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.section--soft .chips li { background: var(--white); }
.map__plane { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map svg { width: 100%; height: auto; }
.map__bg { fill: #F1F5F1; }
.map__ring { fill: none; stroke: var(--green-leaf); stroke-opacity: .28; stroke-dasharray: 4 6; }
.map__river { fill: none; stroke: #8DBBE8; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.map__river-label { fill: #4C7FB3; font: italic 600 14px var(--font-body); }
.map__place circle { fill: var(--green); stroke: var(--white); stroke-width: 2; }
.map__place text { font: 600 13px var(--font-head); fill: var(--ink); paint-order: stroke; stroke: #EEF4EF; stroke-width: 4px; stroke-linejoin: round; }
.map__place--small text { font-size: 11.5px; fill: var(--text); }
.map__place--small circle { fill: var(--green-leaf); }
.map__place--big text { font-size: 16px; font-weight: 800; }
.map__place--big circle { fill: var(--blue); }
.map__place--home circle { fill: var(--green); }
.map__place--home text { font-size: 17px; font-weight: 800; fill: var(--green); }
.map__note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.area-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 64px; }
.area-group { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.area-group h2 { font-size: 23px; }
.area-group p { color: var(--text); }
.area-group .chips li { font-size: 14px; padding: 5px 12px; }

/* Kontakt */
.contact__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 16px; }
.contact__intro > p:not(.eyebrow) { color: var(--text); font-size: 18px; }
.contact__form { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.section--soft .contact-card--plain { background: var(--page); }
.contact-cards { display: grid; gap: 12px; margin-top: 8px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--page); color: var(--ink); text-decoration: none; }
a.contact-card:hover { color: var(--ink); border-color: #C3CEC6; background: var(--soft); }
.contact-card > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.contact-card strong { font-family: var(--font-head); }
.contact-card > span:last-child > span { color: var(--text); font-size: 15px; overflow-wrap: anywhere; }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--green-wash); color: var(--green); flex: none; }
.contact-card__icon--wa { background: #DFF5E6; color: #128C4A; }
.contact-card__icon--blue { background: var(--blue-wash); color: var(--blue); }
.contact-card--plain { background: var(--soft); }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #C3CEC6; border-radius: var(--radius-sm); background: var(--white);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-leaf); box-shadow: 0 0 0 4px rgba(47, 143, 91, .15); }
.field.has-error input, .field.has-error textarea { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179, 38, 30, .1); }
.choice { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 10px; }
.choice legend { width: 100%; margin-bottom: 6px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #C3CEC6; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 15px; transition: border-color .2s, background-color .2s; }
.choice label:has(input:checked) { border-color: var(--green); background: var(--green-wash); color: var(--green); }
.choice label { flex: none; white-space: nowrap; }
.field .choice input, .choice input { width: auto; min-height: 0; padding: 0; border: 0; box-shadow: none; accent-color: var(--green); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.form__actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__status { font-weight: 600; }
.form__status.is-error { color: #B3261E; }
.form__status.is-success { color: var(--green); }
.form.is-sent .form__status { padding: 14px 16px; border-radius: 10px; background: var(--green-wash); flex-basis: 100%; }

/* Handlungsaufforderung */
.cta-band { background: var(--green); color: var(--white); padding: 72px 0; position: relative; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 10px; color: #DCE8E1; font-size: 18px; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Unterseiten */
.page-hero { position: relative; background: var(--soft); border-bottom: 1px solid var(--line); padding: 32px 0 72px; overflow: hidden; }
.page-hero--center { text-align: center; padding: 96px 0; }
.page-hero__text { display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
.crumbs { margin-bottom: 36px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #A5B1A9; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.service-hero__media { position: relative; }
.service-hero__media .hero__frame img, .service-hero__media .hero__frame .illu { aspect-ratio: 16 / 11; height: auto; }
.service-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.service-body__main { display: flex; flex-direction: column; gap: 12px; }
.service-body__text { margin-top: 28px; }
.service-body__aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.include-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 12px; }
.include-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.include-list .icon { color: var(--green); margin-top: 2px; }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.prose p { color: var(--text); font-size: 18px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); }
.prose--narrow { margin: 0 auto; }
.aside-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: var(--page); border: 1px solid var(--line); }
.aside-card--soft { background: var(--soft); box-shadow: none; }
.aside-card__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.aside-card ol { display: flex; flex-direction: column; gap: 8px; counter-reset: a; font-size: 15px; color: var(--text); }
.aside-card ol li { counter-increment: a; display: grid; grid-template-columns: 26px 1fr; }
.aside-card ol li::before { content: counter(a); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; margin-top: 2px; }
.aside-card p { color: var(--text); font-size: 15px; }
.link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.link-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--ink); }
.link-list a:hover { border-color: var(--green-leaf); color: var(--green); }
.link-list .icon { color: var(--green-leaf); }
.thanks { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 640px; margin: 0 auto; }
.thanks__icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--green); color: var(--white); }
.thanks__icon--muted { background: var(--green-wash); color: var(--green); box-shadow: none; }

/* Projektseiten */
.project-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 860px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.project-gallery figure { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.project-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.compare { --pos: 50%; position: relative; border-radius: var(--radius); overflow: hidden; max-width: 1000px; margin: 0 auto 48px; aspect-ratio: 4 / 3; background: var(--soft); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.3); }
.compare__line::after { content: '⟷'; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--green); font-size: 22px; box-shadow: var(--shadow); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__label { position: absolute; top: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(20, 35, 28, .7); color: var(--white); font-size: 13px; font-weight: 700; pointer-events: none; }
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; }

/* Rechtstexte */
.legal { padding: 32px 0 96px; }
.legal .container { max-width: 840px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p { margin-bottom: 12px; color: var(--text); }
.legal__date { margin-top: 32px; font-size: 15px; }

/* Fußzeile */
.footer { background: #17302A; color: #D5E0D9; font-size: 16px; padding: 72px 0 32px; }
.footer a { color: #D5E0D9; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.footer__grid > div, .footer address { display: flex; flex-direction: column; gap: 12px; font-style: normal; }
.footer__about p { max-width: 320px; }
.footer__grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer__title { font-family: var(--font-head); font-weight: 700; color: var(--white); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2E4A40; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; color: #B9CCC1; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Cookie-Einwilligung: beide Schaltflächen gleich gewichtet */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 640px; margin: 0 auto; padding: 20px; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 15px; }
.consent p { margin: 0 0 16px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent__actions .btn { flex: 1 1 140px; }

/* Einblenden beim Scrollen (nur mit JS) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) calc(var(--i, 0) * 80ms), transform .7s var(--ease) calc(var(--i, 0) * 80ms), translate .3s var(--ease), box-shadow .3s, border-color .2s; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.tiles > :nth-child(2), .project-grid > :nth-child(2), .gallery > :nth-child(2), .area-groups > :nth-child(2) { --i: 1; }
.tiles > :nth-child(3), .project-grid > :nth-child(3), .gallery > :nth-child(3), .area-groups > :nth-child(3) { --i: 2; }
.tiles > :nth-child(4) { --i: 3; }

/* ---------- Responsive ---------- */
/* Große Monitore (z. B. 27 Zoll): alles proportional vergrößern, damit die Seite den Bildschirm füllt */
/* Große Monitore: mehr Breite statt alles zu vergrößern – Menü und Text bleiben fein */
@media (min-width: 1700px) { .container { max-width: 1440px; } }
@media (min-width: 2000px) { .container { max-width: 1600px; } }

@media (max-width: 1180px) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 32px; background: var(--page); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .header { backdrop-filter: none; background: var(--page); }
  .nav__link { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
  .nav__link::after { display: none; }
  .nav__item--mega { flex-wrap: wrap; }
  .nav__item--mega .nav__link { flex: 1; }
  .nav__sub-toggle { width: 52px; height: 58px; margin: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { position: static; display: none; grid-template-columns: 1fr; width: 100%; padding: 8px 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item--mega.is-open .mega { display: grid; }
  .nav__cta { margin: 24px 0 0; min-height: 56px; font-size: 17px; border-radius: var(--radius-sm); }
  body.nav-open { overflow: hidden; }

  .hero { min-height: min(78vh, 720px); }
  .tiles, .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { aspect-ratio: 4 / 3; }
  .about__photo img { aspect-ratio: 16 / 10; }
  .area-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-hero, .area-teaser, .area-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .service-body { grid-template-columns: 1fr; gap: 40px; }
  .service-body__aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .project-grid, .area-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section--tight { padding-top: 16px; }
  .section__head { margin-bottom: 32px; }
  .page-hero { padding: 20px 0 48px; }
  .page-hero--center { padding: 64px 0; }
  .crumbs { margin-bottom: 24px; }
  .brand__name { font-size: 19px; }
  .brand__sub { font-size: 11px; }
  .brand img { width: 48px; height: 48px; }

  .hero { min-height: calc(100svh - var(--header-h) - 72px); }
  .hero::after { background: linear-gradient(0deg, rgba(15, 30, 22, .88) 0%, rgba(15, 30, 22, .5) 55%, rgba(15, 30, 22, .2) 100%); }
  .hero__bg { object-position: 62% 60%; }
  .hero__inner { padding-top: 96px; padding-bottom: 36px; }
  .tiles, .tiles--3 { gap: 12px; }
  .tile { aspect-ratio: 4 / 5; }
  .tile__body { padding: 14px; gap: 6px; }
  .tile__title { font-size: 17px; }
  .tile__more { font-size: 11px; letter-spacing: .06em; }
  .tiles-group + .tiles-group { margin-top: 40px; }
  .area-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__frame img { aspect-ratio: 4 / 3.4; }
  .facts__list { grid-template-columns: 1fr; }
  .facts__list li, .facts__list li:nth-child(3) { border-left: 0; padding: 16px 0; }
  .facts__list li + li { border-top: 1px solid var(--line); }

  .project-grid, .area-groups, .include-list, .link-list, .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item { scroll-snap-align: start; }
  .contact__form { padding: 22px 18px; }
  .form__grid { grid-template-columns: 1fr; gap: 14px; }
  .form__actions .btn { width: 100%; }
  .service-body__aside { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 0; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .footer { padding: 56px 0 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

}

@media (max-width: 400px) {
  .btn { white-space: normal; }
  .btn--lg { padding: 0 18px; }
  .brand__sub { display: none; }
  h1 { font-size: 32px; }
  .tiles, .tiles--3 { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 10; }
  .tile__title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .cta-band, .footer { display: none; }
}
