/* Oasify – Grundgestaltung
   Farben: Kalkstein (Grund), Johannisbrot-Grün (Schrift), Wasser (Akzent), Blatt, Erde.
   Leitmotiv: eine Bewässerungsleitung, die die fünf Bereiche verbindet. */

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/commissioner-latin-wght-normal.woff2") format("woff2-variations");
  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: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/commissioner-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/commissioner-greek-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  --paper: #ffffff;
  --tint: #eff6ec;
  --ink: #13261f;
  --muted: #4a5e57;
  --water: #0b7a75;
  --water-deep: #075a56;
  --leaf: #5e8c5a;
  --soil: #b49d6c;
  --line: #c9d6d0;
  --white: #ffffff;
  --radius: 6px;
  --wrap: 72rem;
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--water-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.12; font-weight: 640; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 680; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }
.h-small { font-size: 1.15rem; margin-top: 0; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 10; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

/* Kopf */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.brand .logo { width: 3rem; height: 3rem; }
.brand .wordmark { height: 3.1rem; width: auto; }
.menu-panel { display: flex; align-items: center; gap: 2rem; }
.nav, .langs { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 520; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--water); }
.langs { gap: 0.25rem; border-left: 1px solid var(--line); padding-left: 1.25rem; }
.langs a { display: inline-block; padding: 0.2rem 0.45rem; border-radius: var(--radius); text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 560; }
.langs a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.menu-toggle { font: inherit; font-weight: 560; background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: var(--radius); padding: 0.4rem 0.9rem; cursor: pointer; }

@media (max-width: 52rem) {
  .menu-panel { width: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 1.25rem; }
  .nav { flex-direction: column; gap: 0.6rem; font-size: 1.15rem; }
  .langs { border-left: 0; padding-left: 0; }
  .has-toggle .menu-panel { display: none; }
  .has-toggle.menu-open .menu-panel { display: flex; }
}
@media (min-width: 52.01rem) {
  .menu-toggle { display: none; }
}

/* Schaltflächen */
.button { display: inline-block; background: var(--water); color: var(--white); text-decoration: none; font-weight: 600; padding: 0.8rem 1.35rem; border-radius: var(--radius); border: 2px solid var(--water); font: inherit; font-weight: 600; cursor: pointer; line-height: 1.3; }
.button:hover { background: var(--water-deep); border-color: var(--water-deep); color: var(--white); }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }
.link { font-weight: 560; }

/* Startbereich mit Leitung */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 0; }
.hero h1 { max-width: 15ch; }
.hero-text { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; margin-top: 1.25rem; }

.pipeline { list-style: none; margin: clamp(3.5rem, 8vw, 6rem) 0 0; padding: 0 0 3.5rem; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.pipeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.85rem; height: 4px; border-radius: 2px; background: var(--water); }
.pipeline li { position: relative; }
.pipeline a { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding-top: 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; position: relative; }
.valve { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--paper); border: 4px solid var(--water); position: relative; z-index: 1; transition: background-color 0.2s; }
.pipeline a:hover .valve, .pipeline a:focus-visible .valve { background: var(--water); }
.pipeline a:hover { color: var(--water-deep); }
.drop { position: absolute; left: 0.6rem; top: 1.8rem; width: 0.55rem; height: 0.75rem; background: var(--water); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .drop { animation: drip 1.4s ease-in 1 forwards; }
  .pipeline li:nth-child(1) .drop { animation-delay: 0.5s; }
  .pipeline li:nth-child(2) .drop { animation-delay: 0.8s; }
  .pipeline li:nth-child(3) .drop { animation-delay: 1.1s; }
  .pipeline li:nth-child(4) .drop { animation-delay: 1.4s; }
  .pipeline li:nth-child(5) .drop { animation-delay: 1.7s; }
  .pipeline li:nth-child(6) .drop { animation-delay: 2s; }
}
@keyframes drip {
  0% { opacity: 0; transform: translateY(-0.4rem) scale(0.4); }
  25% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(2.6rem) scale(0.8); }
}

@media (max-width: 44rem) {
  .pipeline { grid-template-columns: 1fr; gap: 1.1rem; padding-bottom: 3rem; }
  .pipeline::before { left: 0.75rem; right: auto; top: 0.5rem; bottom: 3.5rem; width: 4px; height: auto; }
  .pipeline a { flex-direction: row; align-items: center; gap: 0.9rem; }
  .drop { display: none; }
}

/* Abschnitte */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-flush { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); max-width: 52ch; margin-bottom: 0.4rem; }
@media (max-width: 44rem) { .section-head { grid-template-columns: 1fr; } }

/* Leistungsliste: die Leitung läuft senkrecht weiter */
.service-list { list-style: none; margin: 0; padding: 0; border-left: 4px solid var(--water); }
.service-list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0.5rem 3rem; padding: 1.4rem 0 1.4rem 2.25rem; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; }
.service-list li::before { content: ""; position: absolute; left: -0.78rem; top: 1.65rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--water); }
.section-tint .service-list li::before { background: var(--tint); }
.service-list h3 { margin: 0; font-size: 1.3rem; }
.service-list h3 a { color: var(--ink); text-decoration: none; }
.service-list h3 a:hover { color: var(--water-deep); text-decoration: underline; }
.service-list p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 44rem) { .service-list li { grid-template-columns: 1fr; padding-left: 1.6rem; } }

.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; margin-top: 2rem; }
.column { border-top: 4px solid var(--leaf); padding-top: 1.1rem; }
.column p { color: var(--muted); margin: 0; }
@media (max-width: 44rem) { .columns { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--ink); font-weight: 650; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 52rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .steps { grid-template-columns: 1fr; } }

.project-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.project-list li { border-top: 1px solid var(--ink); padding: 1.4rem 0 2rem; }
.project-list p { color: var(--muted); max-width: 48ch; }
.project-list dl { margin: 0; display: grid; gap: 0.3rem; font-size: 0.95rem; }
.project-list dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.project-list dt { color: var(--muted); }
.project-list dd { margin: 0; }

.tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { font-size: 0.85rem; font-weight: 560; line-height: 1.2; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.section-tint .tags li { border-color: #cfe0c8; }
@media (max-width: 44rem) { .project-list { grid-template-columns: 1fr; } .project-list dl div { grid-template-columns: 1fr; gap: 0; } }

/* Aufruf zum Kontakt */
.cta { background: var(--ink); color: var(--paper); padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--paper); }
.cta p { margin: 0; color: #c9d8d1; }
.cta-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-mail { color: var(--paper); font-weight: 560; }
.cta-mail:hover { color: var(--white); }

/* Unterseiten */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.crumb { margin-bottom: 1rem; font-weight: 560; }
.crumb a { text-decoration: none; }
.crumb a::before { content: "\2190\00a0"; }

.service-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.offers { list-style: none; margin: 0; padding: 0; border-left: 4px solid var(--water); }
.offers li { padding: 0.75rem 0 0.75rem 1.5rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 520; }
.offers li:last-child { border-bottom: 0; }
.service-side .h-small + .facts { margin-bottom: 2rem; }
.proof { border-left: 4px solid var(--leaf); padding-left: 1rem; }
.note { background: var(--tint); padding: 1rem 1.25rem; border-radius: var(--radius); }
@media (max-width: 52rem) { .service-body { grid-template-columns: 1fr; } }

.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); hyphens: auto; overflow-wrap: anywhere; }
.facts dd { margin: 0; }
@media (max-width: 30rem) { .facts div { grid-template-columns: 1fr; gap: 0.1rem; } }

.courses { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; margin: 2rem 0; align-items: start; }
.course-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.course-list li { border-top: 4px solid var(--water); padding-top: 1rem; }
.course-list p { color: var(--muted); margin: 0; }
@media (max-width: 52rem) { .courses { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 52rem) { .two-col { grid-template-columns: 1fr; } }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.company { font-size: 1.2rem; }

/* Formular */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 52rem) { .contact-layout { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.25rem; max-width: 40rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 560; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid #9fb2aa; border-radius: var(--radius); padding: 0.7rem 0.8rem; width: 100%;
}
.field textarea { resize: vertical; }
.field input[type="file"] { font: inherit; }
.field [aria-invalid="true"] { border-color: #a5282c; border-width: 2px; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 0.75rem; }
.field-check input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; accent-color: var(--water); }
.field-check label { font-weight: 400; }
.field-check .field-error { grid-column: 1 / -1; }
.hint { margin: 0; font-size: 0.92rem; color: var(--muted); }
.field-error { margin: 0; color: #a5282c; font-weight: 560; font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1.25rem 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.notice h2 { font-size: 1.2rem; }
.notice p { margin: 0; }
.notice-ok { background: #dcefe4; border-left: 4px solid var(--leaf); }
.notice-error { background: #f7e3e1; border-left: 4px solid #a5282c; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; font-size: 0.97rem; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.footer-brand .logo { width: 2rem; height: 2rem; }
.footer-brand .wordmark { height: 2.1rem; width: auto; }
.footer-tagline { color: var(--muted); max-width: 38ch; }
.site-footer address { font-style: normal; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
@media (max-width: 44rem) { .footer-inner { grid-template-columns: 1fr; } }
