/* =========================================================
   May & Glass — app.css
   Ein einziges responsives Stylesheet (mobile-first).
   Marken-Tokens als CSS-Variablen, damit Farben/Abstände
   zentral angepasst werden können.
   ========================================================= */

:root {
    /* Marke */
    --green-dark:   #2d5410;   /* Hero- & CTA-Flächen */
    --green:        #3b6d11;   /* Buttons & Akzente   */
    --green-700:    #27500a;
    --green-50:     #eaf3de;   /* helle Tönungsfläche */
    --ink:          #22301a;   /* Fließtext           */
    --ink-strong:   #173404;   /* Überschriften       */
    --muted:        #5a6b50;
    --border:       #e4e8da;
    --paper:        #ffffff;
    --soft:         #f4f6ee;
    --footer-bg:    #1c2f12;
    --footer-ink:   #b9c8a8;

    /* Typo */
    --font-display: "Fraunces", Georgia, serif;
    --font-body:    "Figtree", system-ui, sans-serif;

    /* Maße */
    --maxw: 1120px;
    --radius: 12px;
    --gap: clamp(1rem, 2vw, 1.5rem);
    --section-y: clamp(2.5rem, 6vw, 4.5rem);
}

/* --- Reset / Basis --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.65;
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink-strong); font-weight: 500; line-height: 1.2; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    border: 1px solid transparent; border-radius: 8px;
    padding: .7rem 1.15rem; font: 500 1rem/1 var(--font-body);
    cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-700); box-shadow: 0 6px 18px rgba(39,80,10,.22); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: #fff; color: var(--green); border-color: #bcd29a; }

/* --- Header / Navigation --- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(1.1) blur(8px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-strong); font-weight: 600; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand__sub { color: #7a8a6e; font-weight: 400; font-family: var(--font-body); font-size: .9rem; }
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav__link { color: #3a4a30; font-size: .95rem; }
.nav__link.is-active { color: var(--green); border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.nav__cta { margin-left: .5rem; }
.nav-toggle { display: none; border: none; background: none; font-size: 1.7rem; color: var(--ink-strong); cursor: pointer; line-height: 1; }

/* --- Hero --- */
.hero { background: var(--green-dark); color: #fff; padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.hero--page { padding: clamp(2rem, 5vw, 3rem) 0; }
.hero__kicker { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: #c0dd97; margin: 0 0 .75rem; }
.hero__title { font-size: clamp(1.7rem, 4.5vw, 2.7rem); max-width: 16ch; color: #fff; }
.hero--page .hero__title { max-width: 22ch; }
.hero__text { color: #dce8cc; max-width: 48ch; margin: .9rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* --- Sektionen --- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--green-50); }
.section--soft { background: var(--soft); }
.section__head { margin-bottom: 1.75rem; }
.section__head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .25rem; }
.section__title { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.section__sub { color: var(--muted); margin: .35rem 0 0; }
.kicker { font-size: .75rem; letter-spacing: .07em; color: #7a9a4e; margin: 0 0 .35rem; }

/* --- Wortspiel --- */
.wordplay { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.wordplay__label { font-size: .8rem; color: #7a8a6e; margin: 0 0 .25rem; }
.wordplay__label--brand { color: var(--green); }
.wordplay__text { color: #3a4a30; margin: 0; }
.wordplay__text--brand { color: var(--ink-strong); font-weight: 500; font-size: 1.1rem; font-family: var(--font-display); }

/* --- Leistungs-Kacheln --- */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.service-card {
    display: flex; flex-direction: column; gap: .15rem;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.1rem; color: inherit; transition: border-color .2s, box-shadow .2s, transform .12s;
}
.service-card:hover { text-decoration: none; border-color: #bcd29a; box-shadow: 0 8px 22px rgba(39,80,10,.08); transform: translateY(-2px); }
.service-card__icon { font-size: 1.6rem; color: var(--green); margin-bottom: .35rem; }
.service-card__title { font-weight: 600; color: var(--ink-strong); }
.service-card__text { font-size: .9rem; color: var(--muted); }

/* --- Ablauf --- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; }
.step { display: flex; flex-direction: column; gap: .2rem; }
.step__num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 600; margin-bottom: .5rem; }
.step__title { font-weight: 600; color: var(--ink-strong); }
.step__text { font-size: .9rem; color: var(--muted); }

/* --- Referenzen / Foto-Platzhalter --- */
.grid-ref { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .65rem; }
.ref-photo {
    background: var(--ph, #557f1c); color: #fff; border-radius: 10px;
    min-height: 110px; display: grid; place-items: center; font-size: .85rem; text-align: center; padding: .5rem;
}

/* --- Vertrauensblock --- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; align-items: center; }
.trust__media { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }

/* --- Ticks (Aufzählung mit Haken) --- */
.ticks { list-style: none; margin: .5rem 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; color: #3a4a30; font-size: .95rem; }
.ticks li::before { content: "\ea5e"; font-family: "tabler-icons"; position: absolute; left: 0; color: var(--green); }

/* --- Pills --- */
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { background: var(--green-50); color: var(--green-700); font-size: .85rem; padding: .35rem .8rem; border-radius: 20px; }

/* --- CTA-Band --- */
.cta-band { background: var(--green-dark); color: #fff; padding: clamp(2rem, 5vw, 3rem) 0; text-align: center; }
.cta-band__title { color: #fff; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.cta-band__text { color: #dce8cc; margin: .5rem 0 1.25rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* --- Link-CTA --- */
.link-cta { font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: .3rem; }

/* --- Leistungs-Detailblöcke --- */
.block { border-bottom: 1px solid var(--border); }
.block__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; padding: var(--section-y) 20px; }
.block__media { background: var(--ph, #557f1c); color: #fff; border-radius: var(--radius); min-height: 220px; display: grid; place-items: center; font-size: .9rem; }
.block--reverse .block__media { order: 2; }
.block__title { font-size: clamp(1.3rem, 3vw, 1.7rem); display: flex; align-items: center; gap: .5rem; }
.block__title i { color: var(--green); }
.block__text { color: #3a4a30; margin: .6rem 0 0; }

/* --- Sprungnavigation --- */
.jumpnav { position: sticky; top: 64px; z-index: 40; background: var(--soft); border-bottom: 1px solid var(--border); }
.jumpnav__inner { display: flex; flex-wrap: wrap; gap: .5rem; padding: .65rem 20px; }
.jumpnav a { background: var(--green-50); color: var(--green-700); border: 1px solid #cfe0b0; border-radius: 20px; padding: .35rem .8rem; font-size: .85rem; }
.jumpnav a:hover { background: #dcebc6; text-decoration: none; }

/* --- Querverweis --- */
.crosslink { background: var(--soft); }
.crosslink__inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 20px; }
.crosslink i { font-size: 1.6rem; color: var(--green); }
.crosslink__text { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.crosslink__text strong { color: var(--ink-strong); }
.crosslink__text span { font-size: .9rem; color: var(--muted); }

/* --- Kontakt --- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.form { background: #fff; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .9rem; color: #3a4a30; font-weight: 500; margin-bottom: .35rem; }
input, select, textarea {
    width: 100%; border: 1px solid #d6dcc7; border-radius: 8px; padding: .6rem .7rem;
    font: 1rem/1.4 var(--font-body); color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(59,109,17,.15); }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: .25rem; border: 1.5px dashed #bcd29a; border-radius: 8px; padding: 1.1rem; background: #f6f9ef; color: var(--muted); font-size: .9rem; font-weight: 400; cursor: pointer; }
.dropzone i { font-size: 1.5rem; color: var(--green); }
.consent { display: flex; align-items: flex-start; gap: .5rem; font-size: .82rem; color: var(--muted); font-weight: 400; margin: .25rem 0 1rem; }
.consent input { width: auto; margin-top: .25rem; }
.form__submit { width: 100%; justify-content: center; }
.form__alt { text-align: center; font-size: .82rem; color: #7a8a6e; margin: .7rem 0 0; }
.form__success { background: var(--green-50); border: 1px solid #bcd29a; border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.form__success i { font-size: 2.1rem; color: var(--green); }
.form__success-title { font-size: 1.1rem; font-weight: 600; color: var(--ink-strong); margin: .4rem 0 .2rem; font-family: var(--font-display); }

.contact-info__head { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.contact-list li { display: flex; gap: .65rem; margin-bottom: .8rem; font-size: .92rem; color: #3a4a30; }
.contact-list i { color: var(--green); font-size: 1.15rem; flex: none; margin-top: .1rem; }
.map-placeholder { background: #cdd9bf; border-radius: 10px; min-height: 160px; display: grid; place-items: center; color: #3a4a30; font-size: .9rem; margin-bottom: 1rem; }
.contact-info__sub { font-weight: 600; color: var(--ink-strong); font-size: .9rem; margin: 0 0 .5rem; }

/* --- Footer --- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 1.75rem 0; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.footer-grid__head { color: #fff; font-weight: 600; margin-bottom: .4rem; }
.site-footer a { color: var(--footer-ink); }

/* --- Mobile Aktionsleiste --- */
.mobilebar { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        padding: .5rem 20px 1rem; box-shadow: 0 12px 24px rgba(0,0,0,.08);
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav__link { padding: .7rem 0; border-bottom: 1px solid var(--border); }
    .nav__link.is-active { border-bottom: 1px solid var(--border); }
    .nav__cta { margin: .75rem 0 0; justify-content: center; }
}

@media (max-width: 720px) {
    .block__inner { grid-template-columns: 1fr; }
    .block--reverse .block__media { order: 0; }
    .field-row { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .jumpnav { top: 0; }

    /* persistente Aktionsleiste */
    .mobilebar {
        display: flex; gap: .5rem; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
        background: #fff; border-top: 1px solid var(--border); padding: .6rem .8rem;
        box-shadow: 0 -6px 18px rgba(0,0,0,.06);
    }
    .mobilebar__call { flex: 1; justify-content: center; }
    .mobilebar__cta { flex: 2; justify-content: center; }
    body { padding-bottom: 4.5rem; }  /* Platz für die Leiste */
}

/* Sanftes Einblenden beim Laden */
@media (prefers-reduced-motion: no-preference) {
    .section, .block, .hero { animation: rise .5s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Ergänzungen: Gartenpflege, Referenzen, Über uns
   ========================================================= */

/* Statische Karte (nicht-verlinkt) — kein Hover-Lift */
.service-card--static { cursor: default; }
.service-card--static:hover { transform: none; box-shadow: none; border-color: var(--border); }

/* Lead / Fließtext */
.prose { max-width: 65ch; }
.prose .lead { font-size: 1.2rem; color: var(--ink-strong); }
.prose p { margin: 0 0 1rem; }

/* Referenzen — Filterleiste */
.filterbar { position: sticky; top: 64px; z-index: 40; background: var(--soft); border-bottom: 1px solid var(--border); }
.filterbar__inner { display: flex; flex-wrap: wrap; gap: .5rem; padding: .65rem 20px; }
.filterbar__btn { background: #fff; color: #3a4a30; border: 1px solid #cfe0b0; border-radius: 20px; padding: .35rem .85rem; font: 500 .85rem var(--font-body); cursor: pointer; transition: background .15s, color .15s; }
.filterbar__btn:hover { background: var(--green-50); }
.filterbar__btn.is-active { background: var(--green); color: #fff; border-color: var(--green); }

/* Referenzen — Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery__item { margin: 0; }
.gallery__item[hidden] { display: none; }
.gallery__item .ref-photo { min-height: 150px; }
.gallery__cap { display: flex; flex-direction: column; padding: .5rem .1rem 0; font-size: .9rem; color: var(--ink-strong); font-weight: 500; }
.gallery__cap span { font-size: .78rem; color: var(--muted); font-weight: 400; }

/* Über uns — Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.1rem; }
.team-card { margin: 0; }
.team-card__photo { background: var(--ph, #557f1c); color: rgba(255,255,255,.85); border-radius: var(--radius); aspect-ratio: 4 / 5; display: grid; place-items: center; font-size: 2.4rem; }
.team-card figcaption { display: flex; flex-direction: column; padding: .6rem .1rem 0; }
.team-card__name { font-weight: 600; color: var(--ink-strong); }
.team-card__role { font-size: .85rem; color: var(--muted); }

@media (max-width: 720px) {
    .filterbar { top: 0; }
}
