/* ==========================================================================
   Reuss Landschaftsgärtner — Rebuild 2026
   Brand: --leaf (Reuss-Grün) + --leaf-dark + --cream
   Editorial typography, magazine-style asymmetric grids, mobile-first
   ========================================================================== */

:root {
  /* Brand greens scraped from original theming.css */
  --leaf:        #88b14f;
  --leaf-dark:   #689F38;
  --leaf-deep:   #4f7a26;
  --leaf-light:  #c9dbae;
  --leaf-pale:   #eaf2dc;
  --cream:       #f3f7ed;
  --bg:          #fbfaf2;
  --offwhite:    #f8f6ee;
  --white:       #ffffff;

  --ink:         #25291f;
  --ink-soft:    #474747;
  --ink-faint:   #757575;
  --line:        #d7dfc7;
  --line-soft:   #e9edd9;

  --earth:       #6b5b3a;
  --terracotta:  #c97240;

  --font-display: ui-serif, "Iowan Old Style", "Apple Garamond", "Palatino Linotype", "Cambria", "Georgia", serif;
  --font-text:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Roboto Mono", Consolas, monospace;

  --container: 1280px;
  --container-wide: 1440px;
  --container-narrow: 880px;
  --radius:    16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(37,41,31,0.06);
  --shadow:    0 8px 30px rgba(37,41,31,0.10);
  --shadow-lg: 0 24px 60px rgba(37,41,31,0.16);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--leaf-deep); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2.5px solid var(--leaf-dark); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--leaf-dark); color: var(--white);
  padding: 12px 18px; border-radius: 8px; z-index: 1000;
  font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); font-style: italic; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-style: italic; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; font-family: var(--font-text); font-weight: 700; letter-spacing: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf-dark);
  font-weight: 700;
  font-family: var(--font-text);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* Top strip (above header) */
.top-strip {
  background: var(--leaf-dark);
  color: var(--cream);
  font-size: 0.82rem;
  padding: 7px 0;
  display: none;
}
.top-strip .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
}
.top-strip a { color: var(--cream); font-weight: 500; }
.top-strip a:hover { color: var(--white); text-decoration: underline; }
@media(min-width: 980px){
  .top-strip { display: block; }
  .site-header { top: 33px; }
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,250,242,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(251,250,242,0.95);
  border-bottom-color: var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; padding: 10px 0; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 800; color: var(--ink);
}
.brand-mark { width: 52px; height: 52px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .name-lg {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 900;
  color: var(--leaf-dark); letter-spacing: 0.04em;
}
.brand-name small {
  font-size: 0.68rem; color: var(--ink-faint);
  font-weight: 600; letter-spacing: 0.08em;
  margin-top: 2px; text-transform: uppercase;
}

.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--ink); font-weight: 600;
  padding: 10px 15px; border-radius: 10px;
  font-size: 0.97rem;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.is-current {
  background: var(--leaf-pale); color: var(--leaf-deep);
}
.nav-cta {
  background: var(--leaf-dark) !important; color: var(--white) !important;
  padding: 11px 22px !important; border-radius: 999px !important;
  font-weight: 700; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--leaf-deep) !important; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 10px;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: 0.3s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 100%;
  background: var(--ink); transition: 0.3s;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    flex-direction: column; padding: 18px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0; pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav-links a { width: 100%; padding: 14px 16px; font-size: 1.05rem; }
  .menu-toggle { display: inline-flex; }
  .nav-wrap { min-height: 66px; }
  .brand-name .name-lg { font-size: 1.05rem; }
  .brand-mark { width: 44px; height: 44px; }
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(136,177,79,0.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--leaf-dark) 0%, var(--leaf) 50%, var(--leaf-light) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: 56px;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
.hero h1 .accent {
  color: var(--leaf-dark);
  display: inline-block; position: relative;
}
.hero h1 .accent::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 5px;
  height: 28%; background: linear-gradient(100deg, var(--leaf-light) 0%, var(--leaf) 100%);
  z-index: -1; border-radius: 6px; opacity: 0.7;
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin: 26px 0 32px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-trustbar {
  margin-top: 60px;
  display: flex; flex-wrap: wrap; gap: 24px 36px;
  padding-top: 30px; border-top: 1px solid var(--line);
  align-items: center;
}
.hero-trustbar p {
  margin: 0; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}
.hero-trustbar p strong { color: var(--leaf-dark); }

@media (max-width: 980px) {
  .hero { padding: 110px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { height: 300px; order: -1; }
  .hero-lead { font-size: 1.04rem; margin: 18px 0 24px; }
  .hero-trustbar { margin-top: 36px; padding-top: 22px; gap: 14px; flex-direction: column; align-items: flex-start; }
  .hero-trustbar p { font-size: 0.74rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  cursor: pointer; min-height: 50px;
  justify-content: center; line-height: 1.2;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--leaf-dark); color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--leaf-deep); color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent; color: var(--leaf-dark);
  border: 1.5px solid var(--leaf-dark);
}
.btn-ghost:hover {
  background: var(--leaf-dark); color: var(--white);
}
.btn-white {
  background: var(--white); color: var(--leaf-dark);
  border: 1.5px solid var(--white);
}
.btn-white:hover { background: var(--cream); }

/* Sections */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--cream); }
section.dark {
  background: linear-gradient(135deg, var(--leaf-deep) 0%, var(--leaf-dark) 100%);
  color: var(--cream);
}
section.dark h1, section.dark h2, section.dark h3 { color: var(--white); }
section.dark .eyebrow { color: var(--leaf-light); }
section.dark p { color: var(--cream); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 1rem; }
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--leaf-dark);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: var(--leaf-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--leaf-pale);
  color: var(--leaf-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 14px; }
.service-card ul {
  list-style: none; font-size: 0.92rem;
  color: var(--ink-soft);
}
.service-card ul li {
  padding-left: 22px; position: relative; margin: 6px 0;
}
.service-card ul li::before {
  content: '✓'; color: var(--leaf-dark); position: absolute; left: 0; font-weight: 700;
}

/* Stats / Trust Counters */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-big {
  padding: 12px;
}
.stat-big .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900; font-style: italic;
  color: var(--leaf-dark);
  line-height: 1; margin-bottom: 8px;
}
.stat-big .label {
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 600;
}
section.dark .stat-big .num { color: var(--white); }
section.dark .stat-big .label { color: var(--leaf-light); }

/* Projects Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(0deg, rgba(37,41,31,0.85) 0%, rgba(37,41,31,0) 100%);
  color: var(--white);
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.01em;
}
.gallery-item.tall { aspect-ratio: 3 / 4; }
.gallery-item.wide { aspect-ratio: 16 / 9; }

/* Magazine 2-col grid */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.two-col h2 { margin-bottom: 16px; }
.two-col p { color: var(--ink-soft); margin-bottom: 14px; }
.two-col.reverse { grid-template-columns: 1fr 1.1fr; }
.two-col.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 28px; }
  .two-col.reverse > :first-child { order: 0; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--leaf-dark) 0%, var(--leaf-deep) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: var(--cream); font-size: 1.1rem; margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--white); color: var(--leaf-deep); }
.cta-band .btn-primary:hover { background: var(--cream); color: var(--leaf-deep); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  background: var(--white); padding: 10px;
  border-radius: var(--radius-sm);
  display: inline-block; margin-bottom: 18px;
  max-width: 220px;
}
.footer-brand p { color: rgba(243,247,237,0.7); font-size: 0.95rem; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-text);
  font-size: 0.85rem; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 16px;
  font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: rgba(243,247,237,0.75); font-size: 0.95rem; }
.site-footer a:hover { color: var(--leaf-light); }
.footer-contact-line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.95rem; color: rgba(243,247,237,0.85); }
.footer-contact-line svg { flex-shrink: 0; margin-top: 3px; color: var(--leaf-light); }
.footer-bottom {
  margin-top: 50px; padding-top: 26px;
  border-top: 1px solid rgba(243,247,237,0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  font-size: 0.85rem; gap: 16px;
  color: rgba(243,247,237,0.6);
}
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(243,247,237,0.6); }
.footer-bottom-links a:hover { color: var(--leaf-light); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Page header (non-home) */
.page-hero {
  padding: 130px 0 60px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; margin: 18px auto 0; }
@media (max-width: 768px) { .page-hero { padding: 100px 0 44px; } }

/* Service detail tabs (Leistungen page) */
.service-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}
.service-detail:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.service-detail:nth-child(even) > :first-child { order: 2; }
.service-detail img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.service-detail h2 { margin-bottom: 14px; }
.service-detail p { color: var(--ink-soft); margin-bottom: 14px; }
.service-detail .feature-list {
  list-style: none; margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
}
.service-detail .feature-list li {
  padding-left: 24px; position: relative;
  font-size: 0.95rem; color: var(--ink-soft);
}
.service-detail .feature-list li::before {
  content: '✓'; color: var(--leaf-dark); position: absolute; left: 0;
  font-weight: 700; font-size: 1.1rem;
}
@media (max-width: 880px) {
  .service-detail, .service-detail:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .service-detail:nth-child(even) > :first-child { order: 0; }
  .service-detail .feature-list { grid-template-columns: 1fr; }
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-sm); }
.review-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 0.05em; }
.review-card p { color: var(--ink-soft); font-style: italic; font-size: 0.97rem; line-height: 1.6; flex-grow: 1; }
.review-author { margin-top: 14px; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.review-author small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 0.82rem; margin-top: 2px; }

/* Contact form */
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; background: var(--cream); border-radius: var(--radius);
}
.contact-info .info-card .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--leaf-pale); color: var(--leaf-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-info .info-card .icon svg { width: 22px; height: 22px; }
.contact-info .info-card h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; font-weight: 600; }
.contact-info .info-card a, .contact-info .info-card span { color: var(--ink); font-weight: 600; font-size: 1.04rem; }
.contact-info .info-card a:hover { color: var(--leaf-dark); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 6px; color: var(--ink);
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem;
  background: var(--bg); color: var(--ink);
  transition: var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--leaf-dark);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(105,159,56,0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px 0; font-size: 0.88rem; color: var(--ink-soft);
}
.consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--leaf-dark); }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cert-card img {
  border-radius: 8px;
  margin-bottom: 12px;
  aspect-ratio: 3/4; object-fit: cover;
  width: 100%; max-width: 200px; margin-left: auto; margin-right: auto;
  border: 1px solid var(--line);
}
.cert-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.cert-card small { color: var(--ink-faint); font-size: 0.82rem; }

/* WhatsApp / Phone sticky CTA */
.sticky-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.sticky-cta a {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,41,31,0.25);
  transition: var(--transition);
}
.sticky-cta a:hover { transform: translateY(-3px) scale(1.04); }
.sticky-cta a.tel { background: var(--leaf-dark); }
.sticky-cta a.whats { background: #25D366; }
.sticky-cta svg { width: 26px; height: 26px; }
@media (max-width: 560px) {
  .sticky-cta { right: 14px; bottom: 14px; }
  .sticky-cta a { width: 52px; height: 52px; }
}

/* Hours table */
.hours-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.hours-block h3 { margin-bottom: 14px; font-size: 1.15rem; }
.hours-block + .hours-block { margin-top: 16px; }
.hours-list { list-style: none; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.97rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li strong { color: var(--ink); }
.hours-list li span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Legal pages (Impressum, Datenschutz) */
.legal-content {
  max-width: 760px; margin: 0 auto;
}
.legal-content h2 { margin: 36px 0 14px; font-size: 1.5rem; font-style: normal; }
.legal-content h3 { margin: 24px 0 10px; font-size: 1.15rem; }
.legal-content p, .legal-content li { margin-bottom: 10px; color: var(--ink-soft); }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }

/* 404 */
.notfound {
  padding: 160px 0 80px;
  text-align: center;
  min-height: 70vh;
}
.notfound h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--leaf-dark); margin-bottom: 8px; }
.notfound p { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 28px; }

/* Reveal animation — additive emphasis only. Content is ALWAYS visible by default.
   The .visible class adds a subtle lift, not a visibility toggle. */
.reveal { transition: transform 0.6s ease, box-shadow 0.6s ease; }
.js .reveal:not(.visible) { transform: translateY(8px); }
.reveal.visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal:not(.visible) { transform: none; transition: none; }
}

/* Wave divider (decorative) */
.wave-divider {
  position: relative; height: 60px; margin-top: -1px;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* Print styles */
@media print {
  .site-header, .sticky-cta, .cta-band, .site-footer { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
