/*
Theme Name: Baumsegler Arboristik
Theme URI: https://baumsegler.com
Author: Julian Kaduk
Description: Professionelles Theme für Baumsegler Arboristik
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: baumsegler-arboristik
*/

/* ============================================================
   DESIGN TOKENS
   Primary:  #466d61  (sage green)
   Accent:   #f0e2b7  (warm cream)
   Font:     Jost  →  closest free Brandon-Grotesque alternative
   ============================================================ */
:root {
  /* Sage scale */
  --sage:        #466d61;
  --sage-dark:   #304d45;
  --sage-deep:   #1f3530;
  --sage-mid:    #5a8a7a;
  --sage-light:  #7aab9a;
  --sage-pale:   #c5d9d4;
  --sage-ghost:  #edf3f1;

  /* Cream scale */
  --cream:       #f0e2b7;
  --cream-dark:  #e0cc92;
  --cream-deep:  #c8b06a;
  --cream-light: #f7efda;
  --cream-ghost: #fdfaf2;

  /* Neutrals */
  --ink:       #1a1f1e;
  --ink-mid:   #3a4240;
  --ink-soft:  #64706d;
  --ink-muted: #8f9e9b;
  --stone:     #d4dbd9;
  --offwhite:  #f8f7f4;
  --white:     #ffffff;

  /* Type */
  --font:       'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --max-w:   1300px;
  --px:      clamp(20px, 5vw, 72px);
  --sec-v:   clamp(60px, 9vw, 120px);

  /* Radii */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 36px;
  --r-pill:9999px;

  /* Elevation */
  --sh-xs: 0 1px 4px rgba(26,31,30,.06);
  --sh-sm: 0 2px 10px rgba(26,31,30,.08);
  --sh-md: 0 8px 28px rgba(26,31,30,.11);
  --sh-lg: 0 24px 60px rgba(26,31,30,.16);

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .26s var(--ease);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin-bottom: .9rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.section { padding-block: var(--sec-v); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { flex-shrink: 0; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--sage); color: var(--white); border-color: var(--sage); }
.btn-primary:hover {
  background: var(--sage-dark); border-color: var(--sage-dark);
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(70,109,97,.3);
}

.btn-cream { background: var(--cream); color: var(--sage-deep); border-color: var(--cream); }
.btn-cream:hover {
  background: var(--cream-dark); border-color: var(--cream-dark);
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,226,183,.45);
}


.btn-outline { background: transparent; color: var(--ink); border-color: var(--stone); }
.btn-outline:hover {
  background: var(--sage); color: var(--white); border-color: var(--sage);
  transform: translateY(-2px);
}

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  padding-block: 20px;
  transition: background var(--t), padding var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(253,250,242,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(70,109,97,.1), var(--sh-xs);
  padding-block: 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
  transition: color var(--t);
}
.site-header.scrolled .site-logo { color: var(--ink); }

/* Logo Cream/Sage-Umschaltung beim Scrollen */
.logo-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img-cream,
.logo-img-sage {
  height: 38px;
  width: auto;
  transition: opacity var(--t);
  display: block;
}
.logo-img-cream { opacity: 1; }
.logo-img-sage  { opacity: 0; position: absolute; top: 0; left: 0; height: 38px; }
.site-header.scrolled .logo-img-cream { opacity: 0; }
.site-header.scrolled .logo-img-sage  { opacity: 1; }

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--sage);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; color: var(--cream); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.logo-sub  { font-size: .56rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-top: 2px; }

/* Desktop links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav > a {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  transition: color var(--t);
  position: relative;
  padding-block: 4px;
}
.main-nav > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--cream);
  transition: width var(--t);
}
.main-nav > a:hover::after { width: 100%; }
.site-header.scrolled .main-nav > a { color: var(--ink-soft); }
.site-header.scrolled .main-nav > a::after { background: var(--sage); }

.nav-cta { padding: 10px 20px !important; font-size: .72rem !important; color: var(--white) !important; }
.nav-cta:hover { color: var(--white) !important; }
.main-nav > .nav-cta::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}
.hamburger .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.site-header.scrolled .hamburger .bar { background: var(--ink); }
.hamburger.active .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--sage-deep);
  z-index: 950;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  transition: color var(--t);
}
.mobile-drawer a:hover { color: var(--cream); }
.mobile-drawer .btn-cream { margin-top: 8px; color: #000; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--sage-deep);
}

/* Container wird flex-1 damit die Bar immer unten ist */
.hero > .container {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/hero-baum.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: .35;
  transform: scale(1.04);
  animation: kb 22s ease-in-out infinite alternate;
}
@keyframes kb { to { transform: scale(1.1); } }

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(31,53,48,.92) 0%, rgba(31,53,48,.45) 55%, transparent 100%),
    linear-gradient(to top,   rgba(31,53,48,.7)  0%, transparent 55%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(240,226,183,.12);
  border: 1px solid rgba(240,226,183,.28);
  color: var(--cream);
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cream); opacity: .6; }

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--cream); }

.hero-lead {
  color: rgba(255,255,255,.68);
  font-weight: 300;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Hero two-column layout ── */
.hero-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(80px, 12vw, 140px) clamp(60px, 9vw, 120px);
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-block: 0; /* reset: padding now on .hero-layout */
}

.hero-logo-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo-img {
  width: clamp(140px, 18vw, 260px);
  height: auto;
  /* Cream-PNG leuchtet auf dunklem Hero optimal */
  filter: drop-shadow(0 8px 32px rgba(240,226,183,.25));
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}

.hero-logo-placeholder {
  width: clamp(120px, 16vw, 220px);
  opacity: .9;
}
.hero-logo-placeholder svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(240,226,183,.2));
  animation: logoFloat 6s ease-in-out infinite;
}

/* Stats bar — im Fluss, nie überlappend */
.hero-bar {
  position: relative;        /* statt absolute */
  inset: unset;
  z-index: 3;
  flex-shrink: 0;
  background: rgba(31,53,48,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(240,226,183,.1);
}
.hero-bar-inner { display: flex; flex-wrap: wrap; }

.hero-stat {
  flex: 1 1 120px;
  padding: 20px clamp(14px, 3vw, 44px);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -.025em;
  line-height: 1;
  margin-bottom: 3px;
}
.hero-stat-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: clamp(40px, 7vw, 72px); }
.section-header.centered { text-align: center; max-width: 560px; margin-inline: auto; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--ink-soft); font-weight: 300; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--offwhite); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--stone);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sage-ghost) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}
.service-card:hover { border-color: var(--sage-pale); transform: translateY(-4px); box-shadow: var(--sh-md); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-ghost);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  position: relative;
  transition: background var(--t);
}
.service-card:hover .service-icon { background: var(--sage); }
.service-icon svg {
  width: 22px; height: 22px;
  color: var(--sage);
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: color var(--t);
  position: relative;
}
.service-card:hover .service-icon svg { color: var(--cream); }

.service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 9px; position: relative; }
.service-card p  { color: var(--ink-soft); font-size: .88rem; font-weight: 300; line-height: 1.65; flex: 1; position: relative; margin-bottom: 0; }

/* Service-Card Desktop: Header/Body-Divs sind normale Block-Elemente */
.service-card-header { display: flex; flex-direction: column; }
.service-chevron { display: none; }

/* Mobile Leistungen-Akkordeon */
@media (max-width: 560px) {
  .service-card.accordion-item { padding: 18px 20px; }
  .service-card.accordion-item .service-card-header {
    cursor: pointer;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
  }
  .service-card.accordion-item .service-icon { margin-bottom: 0; flex-shrink: 0; }
  .service-card.accordion-item h3 { margin-bottom: 0; flex: 1; }
  .service-card.accordion-item .service-chevron {
    display: block;
    flex-shrink: 0;
    transition: transform var(--t);
    color: var(--sage);
  }
  .service-card.accordion-item.accordion-open .service-chevron { transform: rotate(180deg); }
  .service-card.accordion-item .service-card-body { display: none; padding-top: 14px; }
  .service-card.accordion-item.accordion-open .service-card-body { display: block; }
}


/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview { background: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }

.about-img-wrap { position: relative; }

.about-img-frame {
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sage-ghost);
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--sage-dark) 0%, var(--sage-mid) 100%);
  display: grid;
  place-items: center;
  font-size: 7rem;
}

.about-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--cream-ghost);
  border: 1px solid var(--cream-dark);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 11px;
}
.badge-icon {
  width: 40px; height: 40px;
  background: var(--sage);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.badge-text strong { display: block; font-size: 1.1rem; font-weight: 400; color: var(--sage-deep); letter-spacing: -.02em; line-height: 1; }
.badge-text small  { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

.about-text h2 { margin-bottom: 14px; }

.cert-list { display: flex; flex-direction: column; gap: 8px; margin: 20px 0 28px; }
.cert-item { display: flex; align-items: center; gap: 11px; font-size: .875rem; font-weight: 300; color: var(--ink-soft); }
.cert-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cream-deep); flex-shrink: 0; }

/* ============================================================
   PROCESS (dark)
   ============================================================ */
.process { background: var(--sage-deep); position: relative; overflow: hidden; }
.process .section-header h2 { color: var(--white); }
.process .section-header p  { color: rgba(255,255,255,.75); }
.process .eyebrow { color: var(--cream); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.process-step {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.03);
  transition: background var(--t);
}
.process-step:hover { background: rgba(255,255,255,.07); }
.step-num {
  font-size: 3rem;
  font-weight: 200;
  color: rgba(240,226,183,.18);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h4 { color: var(--white); font-size: .95rem; font-weight: 500; margin-bottom: 9px; }
.process-step p  { color: rgba(255,255,255,.75); font-size: .83rem; font-weight: 300; margin-bottom: 0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--cream-ghost); }

.ig-note {
  background: var(--white);
  border: 1px dashed var(--stone);
  border-radius: var(--r-lg);
  padding: 22px;
  text-align: center;
  color: var(--ink-soft);
  font-size: .875rem;
  margin-bottom: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 10px;
}
.gallery-ph {
  aspect-ratio: 1;
  background: var(--sage-ghost);
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: var(--sage-pale);
  border: 1px solid var(--stone);
}

/* ============================================================
   QUOTE FORM
   ============================================================ */
.quote-section { background: var(--white); }

.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.quote-info h2 { margin-bottom: 14px; }
.quote-info p  { color: var(--ink-soft); font-weight: 300; }

.quote-callout {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--cream-ghost);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--cream-deep);
}
.quote-callout p { font-size: .875rem; color: var(--ink-soft); margin-bottom: 0; }
.quote-callout strong { color: var(--sage-dark); }

.quote-form-wrap {
  background: var(--offwhite);
  border-radius: var(--r-2xl);
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--stone);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.span-2 { grid-column: 1 / -1; }

.form-group label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--stone);
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(70,109,97,.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23466d61' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Selects in 2-col-grid: immer am unteren Rand der form-group ausrichten */
.form-grid .form-group select { margin-top: auto; }

.field-error { border-color: rgba(194,69,69,.7) !important; }
.field-error-label { color: rgba(194,69,69,.9) !important; }

/* Adresse: Straße (3fr) + Hausnummer (1fr) */
.form-row-street,
.form-row-city {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}
.form-row-street { grid-template-columns: 3fr 1fr; }
.form-row-city   { grid-template-columns: 1fr 3fr; }

@media (max-width: 480px) {
  .form-row-street,
  .form-row-city { grid-template-columns: 1fr; }
}

/* Checkbox – kein appearance:none, eigenes Styling */
.form-group--check { margin-top: 4px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .82rem;
  font-weight: 300;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.55;
}

.checkbox-label input[type="checkbox"] {
  /* Eigene Styles – kein appearance:none überschreiben */
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--sage);
  cursor: pointer;
  /* Kein border-radius, kein appearance override */
  appearance: auto;
  -webkit-appearance: auto;
}

.checkbox-label a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Damit der globale input-Stil die Checkbox NICHT trifft */
.form-group input[type="checkbox"] {
  padding: 0;
  border: none;
  box-shadow: none;
  background: none;
  width: auto;
  appearance: auto;
  -webkit-appearance: auto;
}

.form-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.form-note { font-size: .72rem; color: var(--ink-muted); font-weight: 300; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--sage);
  padding-block: clamp(52px, 8vw, 96px);
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,.7); font-weight: 300; max-width: 460px; margin-inline: auto; margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--sage-deep);
  color: rgba(255,255,255,.55);
  padding-block: clamp(48px, 7vw, 80px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 52px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: .83rem; font-weight: 300; line-height: 1.7; }

.footer-col h5 {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: .83rem; font-weight: 300; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer-col ul a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .83rem;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  margin-bottom: 9px;
}
.footer-contact-item a:hover { color: var(--white); }

/* Social buttons in footer */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  transition: var(--t);
}
.footer-social-btn:hover {
  background: rgba(255,255,255,.14);
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}

.footer-social-btn--wa:hover {
  background: rgba(37,211,102,.15);
  border-color: rgba(37,211,102,.3);
  color: #25d366;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.38); transition: color var(--t); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 20px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--sage-deep);
  padding-block: clamp(96px, 14vw, 160px) clamp(48px, 6vw, 72px);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.62); font-weight: 300; max-width: 520px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page { background: var(--white); }

.about-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}
.founder-sticky { position: sticky; top: 96px; }
.founder-frame {
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sage-ghost);
}
.founder-frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--sage-dark) 0%, var(--sage-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.founder-placeholder .icon { font-size: 5rem; line-height: 1; }
.founder-placeholder p { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 0; }

.quals-box {
  background: var(--cream-ghost);
  border: 1px solid var(--cream-dark);
  border-radius: var(--r-xl);
  padding: 22px;
  margin-top: 18px;
}
.quals-box h5 { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.qual-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.qual-tag {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.bg-pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 24px; }
.bg-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--sage-ghost);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--sage-dark);
}

blockquote.founder-quote {
  border-left: 3px solid var(--cream-deep);
  padding: 18px 22px;
  background: var(--cream-ghost);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  margin: 28px 0;
}
blockquote.founder-quote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--sage-deep);
  margin-bottom: 8px;
}
blockquote.founder-quote cite { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-style: normal; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
  margin-top: 52px;
}
.value-card {
  background: var(--offwhite);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl);
  padding: 26px;
  transition: var(--t);
}
.value-card:hover { border-color: var(--sage-pale); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.value-icon { font-size: 1.6rem; margin-bottom: 12px; }
.value-card h4 { margin-bottom: 7px; font-size: .95rem; }
.value-card p  { color: var(--ink-soft); font-size: .85rem; font-weight: 300; margin-bottom: 0; }

/* ============================================================
   LEGAL
   ============================================================ */
/* ============================================================
   LEISTUNGSSEITEN
   ============================================================ */
.leistung-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color var(--t);
  margin-bottom: 20px;
}
.leistung-back:hover { color: var(--cream); }

.leistung-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.leistung-intro-text {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
  border-left: 3px solid var(--cream-deep);
  padding-left: 20px;
  margin-bottom: 0;
}

.leistung-items { display: flex; flex-direction: column; gap: 16px; }

.leistung-item {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  background: var(--offwhite);
  border-radius: var(--r-lg);
  border: 1px solid var(--stone);
  transition: var(--t);
}
.leistung-item:hover { border-color: var(--sage-pale); background: var(--sage-ghost); }

.leistung-item-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: var(--sage);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-top: 2px;
  color: var(--white);
  flex-shrink: 0;
}

.leistung-item h4 { font-size: .9rem; font-weight: 600; color: var(--sage-dark); margin-bottom: 5px; }
.leistung-item p  { font-size: .855rem; font-weight: 300; color: var(--ink-soft); line-height: 1.65; margin-bottom: 0; }

.leistung-hinweis {
  background: var(--cream-ghost);
  border: 1px solid var(--cream-dark);
  border-left: 3px solid var(--cream-deep);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 16px 20px;
  margin-top: 40px;
  margin-bottom: 8px;
}
.leistung-hinweis p { font-size: .855rem; color: var(--ink-soft); font-weight: 300; margin-bottom: 0; }

.leistung-faq { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item[open] { border-color: var(--sage-pale); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--sage); }
.faq-icon { flex-shrink: 0; transition: transform var(--t); color: var(--sage); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 14px; border-top: 1px solid var(--stone); }
.faq-answer p { font-size: .855rem; font-weight: 300; color: var(--ink-soft); margin-top: 12px; margin-bottom: 0; }

.leistung-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }

.leistung-cta-box {
  background: var(--sage-ghost);
  border: 1px solid var(--sage-pale);
  border-radius: var(--r-xl);
  padding: 24px;
}
.leistung-cta-box h3 { font-size: 1rem; margin-bottom: 8px; color: var(--sage-dark); }
.leistung-cta-box p  { font-size: .84rem; font-weight: 300; color: var(--ink-soft); margin-bottom: 18px; }

.leistung-other-box {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl);
  padding: 20px;
}
.leistung-other-box h5 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.leistung-other-box ul { display: flex; flex-direction: column; }
.leistung-other-box ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: .82rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--stone);
  transition: color var(--t);
}
.leistung-other-box ul li:last-child a { border-bottom: none; }
.leistung-other-box ul li a:hover { color: var(--sage); }

@media (max-width: 900px) {
  .leistung-layout { grid-template-columns: 1fr; }
  .leistung-sidebar { position: relative; top: auto; }
}

.legal-content { max-width: 740px; margin-inline: auto; }
.legal-content h2 { font-size: 1.4rem; margin-block: 44px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--stone); }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; margin-block: 26px 9px; }
.legal-content p   { color: var(--ink-soft); font-weight: 300; }
.legal-box {
  background: var(--sage-ghost);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 20px 24px;
  margin: 18px 0;
}
.legal-box p { color: var(--ink); margin-bottom: 3px; }
.legal-box p:last-child { margin-bottom: 0; }
.placeholder-note {
  background: rgba(240,226,183,.3);
  border: 1px solid var(--cream-dark);
  border-radius: var(--r-md);
  padding: 11px 15px;
  font-size: .78rem;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ============================================================
   REGION SECTION
   ============================================================ */
.region-section { background: var(--sage-deep); }

.region-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.region-text .eyebrow { color: var(--cream); }
.region-text h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.region-text p {
  color: rgba(255,255,255,.6);
  font-weight: 300;
  margin-bottom: 16px;
}

/* City list – pure typography, no cards */
.region-cities {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(240,226,183,.18);
  padding-left: clamp(28px, 4vw, 56px);
}

.region-city {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.region-city:last-child { border-bottom: none; }

.region-city-name {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.45);
  transition: color var(--t);
  line-height: 1;
}

.region-city--home .region-city-name {
  color: var(--cream);
  font-weight: 400;
}

.region-city--more .region-city-name {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,.25);
}

.region-city-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240,226,183,.5);
}

@media (max-width: 768px) {
  .region-layout { grid-template-columns: 1fr; gap: 36px; }
  .region-cities { border-left: none; padding-left: 0; border-top: 1px solid rgba(240,226,183,.15); padding-top: 32px; }
}

/* ============================================================
   TRUST / QUALITY SECTION
   ============================================================ */
.trust-section { background: var(--offwhite); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.trust-intro { position: sticky; top: 96px; }
.trust-intro h2 { margin-bottom: 14px; }
.trust-intro p  { color: var(--ink-soft); font-weight: 300; }

.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 32px);
  transition: var(--t);
}
.trust-card:hover {
  border-color: var(--sage-pale);
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}

.trust-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.trust-card h4   { font-size: .95rem; font-weight: 600; margin-bottom: 9px; color: var(--sage-dark); }
.trust-card p    { font-size: .85rem; font-weight: 300; color: var(--ink-soft); line-height: 1.65; margin-bottom: 0; }

/* ============================================================
   CERTIFICATION LOGOS
   ============================================================ */
.cert-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.cert-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: .85;
  transition: var(--t);
}
.cert-logos a:hover .cert-logo { filter: grayscale(0); opacity: 1; }

.cert-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  background: var(--sage-ghost);
  border: 1px solid var(--sage-pale);
  border-radius: var(--r-md);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--sage);
  transition: var(--t);
}
.cert-logos a:hover .cert-logo-placeholder { background: var(--sage); color: var(--white); }

/* Service card highlight variant */
.service-card--highlight {
  border-color: var(--sage-pale);
  background: linear-gradient(135deg, var(--sage-ghost) 0%, var(--white) 60%);
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sage);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 18px;
  position: relative;
  transition: gap var(--t), color var(--t);
  text-decoration: none;
}
.service-arrow svg { flex-shrink: 0; transition: transform var(--t); }
.service-card:hover .service-arrow { gap: 11px; color: var(--sage-dark); }
.service-card:hover .service-arrow svg { transform: translateX(2px); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page { background: var(--white); }
.ig-wrapper { border-radius: var(--r-xl); overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-main-grid { grid-template-columns: 1fr 1.1fr; gap: 44px; }
  .founder-sticky { position: relative; top: auto; }
  .quote-wrap { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-intro { position: relative; top: auto; }
  .trust-cards { grid-template-columns: 1fr; }

  .grid-2,
  .about-main-grid { grid-template-columns: 1fr; }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero-content {
    text-align: left; /* Text bleibt linksbündig */
  }

  .hero-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: fit-content;
    margin-inline: auto;
    padding-top: 11px;
    padding-bottom: 11px;
    gap: 4px;
  }
  .hero-pill .pill-sep { display: none; }

  .hero-logo-col {
    order: -1;
  }

  .hero-logo-img,
  .hero-logo-placeholder {
    width: clamp(80px, 28vw, 130px);
    margin-inline: auto;
  }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; max-width: 340px; justify-content: center; }

  .hero-bar-inner { flex-wrap: wrap; }
  .hero-stat {
    flex: 1 1 50%;
    padding: 14px 10px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .hero-stat:nth-child(odd)         { border-right: 1px solid rgba(255,255,255,.07); }
  .hero-stat:nth-last-child(-n+2)   { border-bottom: none; }
  .hero-stat-num   { font-size: 1.2rem; }
  .hero-stat-label { font-size: .58rem; }

  .about-badge { right: 6px; bottom: 12px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; }
  .form-footer .btn { width: 100%; justify-content: center; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  .values-grid { grid-template-columns: 1fr; }

  h1 { font-size: clamp(1.9rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
}

@media (max-width: 400px) {
  .logo-text-wrap { display: none; }
  .hero-stat { flex: 1 1 100%; border-right: none !important; }
  .hero-stat:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .hero-stat:last-child { border-bottom: none; }
}

@media (hover: none) {
  .service-card:hover,
  .value-card:hover { transform: none; }
  .btn-primary:hover,
  .btn-cream:hover,
  .btn-outline:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .08ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   404 – SEITE NICHT GEFUNDEN
   ============================================================ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--sec-v) 0;
  background: var(--offwhite);
}

.not-found-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.not-found-code {
  font-size: clamp(72px, 16vw, 140px);
  font-weight: 800;
  line-height: 1;
  color: var(--sage-pale);
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.not-found-inner .eyebrow { display: block; margin-bottom: 16px; }
.not-found-inner h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 16px; }
.not-found-inner > p { color: var(--ink-soft); font-weight: 300; margin-bottom: 40px; }

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.not-found-contact {
  font-size: .88rem;
  color: var(--ink-muted);
}
.not-found-contact a { color: var(--sage); text-decoration: none; }
.not-found-contact a:hover { text-decoration: underline; }
