/* Arctium Gartenpflege – Stylesheet */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #2b2b2b;          /* Logo-Anthrazit */
  --green: #366935;        /* Logo-Grün */
  --green-dark: #24481f;
  --green-soft: #e7efe3;
  --cream: #f7f5ef;
  --white: #ffffff;
  --muted: #5d625a;
  --radius: 14px;
  --wrap: 1160px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: var(--green); margin-bottom: .6rem; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: var(--white); text-decoration: none; font-weight: 600; padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--green); transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-small { padding: .55em 1.2em; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: #e5e5e0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; background: var(--cream); padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 span { color: var(--green); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-image { margin: 0; position: relative; }
.hero-image img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; box-shadow: 0 30px 60px -30px rgba(36,72,31,.45); }
.hero-image::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%; background: var(--green); border-radius: var(--radius); z-index: -1; }
.hill { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--white); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-light { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: #8fc28a; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--cream); border-radius: var(--radius); padding: 2rem; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }

/* Über mich */
#ueber-mich { background: var(--green-soft); }
.about { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 960px; }
.about-mark { background: var(--white); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 2.6rem; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { border-top: 2px solid rgba(255,255,255,.18); padding-top: 1.5rem; }
.steps span { font-family: var(--head); font-weight: 700; font-size: 3.4rem; line-height: 1; color: #8fc28a; display: block; margin-bottom: .8rem; }
.steps p { color: rgba(255,255,255,.75); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact-box { background: var(--cream); border-radius: var(--radius); padding: .6rem 1.6rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; word-break: break-word; }
.contact-line + .contact-line { border-top: 1px solid #e3e0d6; }
a.contact-line:hover { color: var(--green); }
.contact-line svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--green); fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-line small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 2.5rem 0; font-size: .95rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.5rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.8rem; margin-top: 2rem; }
.placeholder { background: #fff6d6; padding: 0 .3em; border-radius: 4px; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .contact { grid-template-columns: 1fr; }
  .hero-image { max-width: 480px; }
  .about { grid-template-columns: 1fr; }
  .about-mark { width: 180px; padding: 1.8rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: .5rem 16px 1.2rem; border-bottom: 1px solid #e5e5e0; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid #eee; }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps { grid-template-columns: 1fr; }
  .brand img { width: 130px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* =========================================================
   JAHRESZEITEN
   ========================================================= */
:root,
:root[data-season="sommer"] {
  --accent: #366935;
  --hero-bg: #f6f3e6;
  --soft: #e9f0e0;
  --hedge-1: #21421d; --hedge-2: #2c5828; --hedge-3: #3f7535; --hole: #142812;
}
:root[data-season="fruehling"] {
  --accent: #3f7d3a;
  --hero-bg: #f4f6ee;
  --soft: #eef3e4;
  --hedge-1: #2a5524; --hedge-2: #386f30; --hedge-3: #5a944a; --hole: #18301a;
}
:root[data-season="herbst"] {
  --accent: #a4481f;
  --hero-bg: #f7efe4;
  --soft: #f3e8da;
  --hedge-1: #253f1e; --hedge-2: #314f28; --hedge-3: #4b6630; --hole: #172713;
}
:root[data-season="winter"] {
  --accent: #2f5f73;
  --hero-bg: #eef2f4;
  --soft: #e5ecf0;
  --hedge-1: #1f3929; --hedge-2: #284633; --hedge-3: #375b44; --hole: #12221a;
}

/* Inhalte je Jahreszeit ein-/ausblenden */
:root[data-season="fruehling"] [data-season-only]:not([data-season-only="fruehling"]),
:root[data-season="sommer"]    [data-season-only]:not([data-season-only="sommer"]),
:root[data-season="herbst"]    [data-season-only]:not([data-season-only="herbst"]),
:root[data-season="winter"]    [data-season-only]:not([data-season-only="winter"]) { display: none; }

/* Saisonfarben anwenden */
.hero { background: var(--hero-bg); transition: background-color .8s ease; }
.hero h1 span, .eyebrow { color: var(--accent); transition: color .6s ease; }
.icon { stroke: var(--accent); transition: stroke .6s ease; }
.card { transition: transform .25s, box-shadow .25s, background-color .6s; }
#ueber-mich { background: var(--soft); transition: background-color .8s ease; }
.section-sub { color: var(--muted); margin-top: -.2rem; }
.cards[data-season-only] { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Partikel-Ebene */
.season-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* Schalter */
.season-switch { display: flex; gap: 2px; padding: 4px; background: #f0efe9; border-radius: 999px; }
.season-switch button { display: flex; align-items: center; gap: .4rem; border: 0; background: transparent; color: var(--muted); font: 600 .85rem/1 var(--body); padding: .55rem .8rem; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s; }
.season-switch button:hover { color: var(--ink); }
.season-switch button[aria-pressed="true"] { background: var(--white); color: var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.season-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.season-switch svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Vogelschutz */
#vogelschutz { background: var(--white); }
.bird-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hedge-wrap { position: relative; }
.hedge { width: 100%; height: auto; display: block; overflow: visible; }
.hedge .h1 { fill: var(--hedge-1); }
.hedge .h2 { fill: var(--hedge-2); }
.hedge .h3 { fill: var(--hedge-3); }
.hedge .h1, .hedge .h2, .hedge .h3 { transition: fill .8s ease; }
.hedge .hole { fill: var(--hole); }
.hedge .ground { fill: var(--ink); }
.hedge .branch { fill: none; stroke: #5a4330; stroke-width: 4; stroke-linecap: round; }
.hedge .branch.thin { stroke-width: 2.5; }
.hedge .leaf { fill: var(--hedge-3); transition: fill .8s ease; }
.hedge .a1 { fill: #b8522a; } .hedge .a2 { fill: #c98f2c; }
.hedge .b1 { fill: #fbf3f4; } .hedge .b2 { fill: #e7b84a; }
.hedge .snow, .hedge .sn { fill: #fbfdff; }
.season-layer { opacity: 0; transition: opacity .8s ease; }
:root[data-season="herbst"] .s-herbst,
:root[data-season="fruehling"] .s-fruehling,
:root[data-season="winter"] .s-winter { opacity: 1; }
:root[data-season="herbst"] .hedge .leaf { fill: #c0562a; }

/* Vogel */
.bird-body { fill: #7b5d43; }
.bird-wing { fill: #5f4733; }
.bird-tail { fill: #5f4733; }
.bird-breast { fill: #dc6b2f; }
.bird-belly { fill: #efe6da; }
.bird-beak { fill: #2b2b2b; }
.bird-eye circle { fill: #171717; }
.bird-eye .glint { fill: #fff; }
.bird-legs { fill: none; stroke: #3b2e22; stroke-width: 1.6; stroke-linecap: round; }
.bird-head { transform-box: fill-box; transform-origin: 70% 90%; animation: headTilt 7s ease-in-out infinite; }
.bird-eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.bird-tail { transform-box: fill-box; transform-origin: 0% 50%; animation: tailFlick 6s ease-in-out infinite; }
.bird-hop { animation: hop 11s ease-in-out infinite; }
@keyframes headTilt {
  0%, 18% { transform: rotate(0); }
  22%, 40% { transform: rotate(-10deg); }
  46%, 64% { transform: rotate(6deg) translateY(1px); }
  70%, 100% { transform: rotate(0); }
}
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes tailFlick { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(4deg); } 92% { transform: rotate(-6deg); } }
@keyframes hop { 0%, 86%, 100% { transform: translateY(0); } 89% { transform: translateY(-5px); } 92% { transform: translateY(0); } }
.rustle .leaf { transform-box: fill-box; transform-origin: 0% 50%; animation: rustle 4.5s ease-in-out infinite; }
.rustle.r2 .leaf { transform-origin: 100% 50%; animation-duration: 5.2s; animation-delay: -1.5s; }
.rustle.r3 .leaf { animation-duration: 6s; animation-delay: -3s; }
@keyframes rustle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg); } }

.periods { list-style: none; margin: 1.6rem 0 1.2rem; padding: 0; display: grid; gap: .8rem; }
.period { border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--cream); border-left: 4px solid #d8d5ca; transition: background-color .5s, border-color .5s; }
.period strong { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 600; }
.period span { color: var(--muted); }
.period.current { background: var(--soft); border-left-color: var(--accent); }
.period.current strong::after { content: "Jetzt"; margin-left: .6rem; font: 600 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--white); background: var(--accent); padding: .3em .6em; border-radius: 999px; vertical-align: middle; }
.note { font-size: .95rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .bird-head, .bird-eye, .bird-tail, .bird-hop, .rustle .leaf, .cards[data-season-only] { animation: none; }
  .season-fx { display: none; }
}

@media (max-width: 1080px) {
  .nav { gap: 1.3rem; }
  .season-switch span { display: none; }
  .season-switch button { padding: .55rem .65rem; }
}
@media (max-width: 900px) {
  .bird-grid { grid-template-columns: 1fr; }
  .hedge-wrap { max-width: 520px; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: .6rem 0; row-gap: .5rem; }
  .season-switch { order: 3; width: 100%; justify-content: space-between; }
  .season-switch button { flex: 1; justify-content: center; }
  .season-switch span { display: inline; font-size: .8rem; }
  .nav { top: 100%; }
  html { scroll-padding-top: 130px; }
}
@media (max-width: 380px) {
  .season-switch span { display: none; }
}
