/* ==========================================================================
   Patrick Worst Agrarservice – style.css
   ========================================================================== */

/* --- Fonts (lokal gehostet, DSGVO) --------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/inter-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/archivo-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/archivo-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/archivo-700italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/archivo-900italic.woff2') format('woff2');
}

/* --- Design Tokens -------------------------------------------------------- */
:root {
  --color-primary:   #4E8B2E;
  --color-primary-d: #3A6B22;
  --color-accent:    #F2B705;
  --color-dark:      #1A1A1A;
  --color-text:      #333333;
  --color-bg:        #FFFFFF;
  --color-bg-alt:    #F5F7F2;

  --font-head: 'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --content-max: 1200px;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(26, 26, 26, 0.08);
  --shadow-hover: 0 10px 28px rgba(26, 26, 26, 0.14);
}

/* --- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
}
@media (min-width: 768px) {
  body { font-size: 17px; }
}

/* --- Focus / Barrierefreiheit ---------------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* --- Layout Helpers --------------------------------------------------------- */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
section {
  padding-block: 3.5rem;
}
@media (min-width: 768px) {
  section { padding-block: 5.5rem; }
}
.section-bg-alt { background: var(--color-bg-alt); }
.section-bg-dark { background: var(--color-dark); color: #fff; }
.section-bg-dark h2 { color: #fff; }
.section-bg-dark.has-bg-photo {
  position: relative;
  background:
    linear-gradient(180deg, rgba(15,15,13,0.88) 0%, rgba(15,15,13,0.93) 55%, rgba(15,15,13,0.97) 100%),
    url('../img/usp-bg.jpg');
  background-size: cover;
  background-position: center 35%;
}
.section-credit {
  margin-top: 2rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}
.section-credit a { color: rgba(255,255,255,0.65); }
.section-credit a:hover { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.section-head p {
  font-size: 1.05rem;
  color: #555;
}
.section-bg-dark .section-head p { color: #ccc; }

/* --- Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--color-primary-d); box-shadow: var(--shadow-hover); }
.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: var(--shadow);
}
.btn-accent:hover { box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}
.btn-outline:hover { background: var(--color-dark); color: #fff; }
.btn-outline.on-dark {
  color: #fff;
  border-color: #fff;
}
.btn-outline.on-dark:hover { background: #fff; color: var(--color-dark); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Header / Navigation ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-dark);
}
.brand img {
  height: 52px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--color-primary-d);
}
@media (min-width: 640px) {
  .header-phone { display: inline-flex; }
}
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.burger:hover { background: var(--color-bg-alt); }
.burger svg { width: 26px; height: 26px; color: var(--color-dark); }
@media (min-width: 900px) {
  .burger { display: none; }
}

.main-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 5.5rem 1.75rem 2rem;
  overflow-y: auto;
  z-index: 99;
}
.main-nav.is-open { transform: translateX(0); }
.main-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.main-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
  border-bottom: 1px solid #eee;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-primary); }
.main-nav .sub-list {
  padding-left: 1rem;
  border-left: 2px solid var(--color-bg-alt);
  margin: 0.25rem 0 0.5rem;
}
.main-nav .sub-list a { font-weight: 600; font-size: 0.95rem; border-bottom: none; padding: 0.5rem 0.25rem; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 98;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    transform: none;
    padding: 0;
    overflow: visible;
  }
  .main-nav ul { flex-direction: row; align-items: center; gap: 1.75rem; }
  .main-nav a { padding: 0.4rem 0; border-bottom: none; font-size: 0.98rem; }
  .main-nav li { position: relative; }
  .main-nav .sub-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    padding: 0.6rem;
    min-width: 240px;
    border-left: none;
    margin: 0;
  }
  .main-nav li:hover .sub-list,
  .main-nav li:focus-within .sub-list { display: block; }
  .main-nav .sub-list a { padding: 0.55rem 0.75rem; border-radius: 6px; }
  .main-nav .sub-list a:hover { background: var(--color-bg-alt); }
  .nav-backdrop { display: none; }
}

/* --- Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17,22,12,0.55) 0%, rgba(17,22,12,0.68) 55%, rgba(17,22,12,0.85) 100%),
    url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center 65%;
  padding-block: 4.5rem;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.hero-credit {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1.5rem;
}
.hero-credit a { color: rgba(255,255,255,0.7); }
.hero-credit a:hover { color: #fff; }
@media (min-width: 768px) {
  .hero { min-height: 86vh; }
  .hero-credit {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    margin-top: 0;
    z-index: 1;
  }
}
.hero-content { max-width: 720px; }
.hero-slogan {
  display: inline-block;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--color-dark);
  background: var(--color-accent);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero-slogan { font-size: 1.2rem; }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.hero p {
  font-size: 1.15rem;
  color: #eee;
  margin-bottom: 2rem;
  max-width: 60ch;
}

/* --- Page Hero (Unterseiten) ---------------------------------------------------- */
.page-hero {
  color: #fff;
  background: linear-gradient(180deg, rgba(26,26,26,0.75), rgba(26,26,26,0.85)), var(--color-primary-d);
  padding-block: 3.5rem;
}
.page-hero .breadcrumb {
  font-size: 0.9rem;
  color: #dcdcdc;
  margin-bottom: 0.75rem;
}
.page-hero .breadcrumb a { color: var(--color-accent); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 50rem;
}

/* --- Icon Kacheln (Leistungen-Grid) ---------------------------------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
}
.tile {
  position: relative;
  background: #fff;
  border: 1px solid #eceee9;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}
.tile-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 12px;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}
.tile-icon svg { width: 30px; height: 30px; }
.tile h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.tile p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}
.tile-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-d);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.tile-link:hover { text-decoration: underline; }
.tile-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* --- USP-Sektion ------------------------------------------------------------------ */
.usp-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--color-accent);
  border-left: 4px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 2.5rem 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .usp-grid { grid-template-columns: repeat(4, 1fr); }
}
.usp-item { display: flex; gap: 1rem; align-items: flex-start; }
.usp-item .tile-icon { flex-shrink: 0; }
.usp-item h3 { font-size: 1rem; margin-bottom: 0.35rem; color: #fff; }
.usp-item p { font-size: 0.92rem; color: #ccc; }

/* --- Zielgruppen-Karten -------------------------------------------------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}
.audience-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-primary);
}
.audience-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.audience-card p { color: #555; font-size: 0.98rem; }

/* --- Einsatzgebiet ---------------------------------------------------------------------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.area-list li {
  background: var(--color-bg-alt);
  border: 1px solid #e4e8df;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-d);
}

/* --- Kontakt ---------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}
.contact-info-item .tile-icon { margin-bottom: 0; }
.contact-info-item a:hover { color: var(--color-primary); }

.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #dcdfd9;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(78,139,46,0.15);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.form-check input { margin-top: 0.3rem; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: #777; margin-top: 0.75rem; }

/* --- Leistungen-Detailseite ---------------------------------------------------------------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .detail-layout { grid-template-columns: 2fr 1fr; }
}
.detail-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.detail-content p { margin-bottom: 1.1rem; color: #444; }
.detail-content ul.checklist { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.25rem 0 1.75rem; }
.detail-content ul.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 1rem;
  color: #333;
}
.detail-content ul.checklist svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--color-primary);
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.detail-gallery img, .img-placeholder {
  border-radius: 10px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-d) 100%);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.detail-gallery figure {
  position: relative;
  margin: 0;
}
.detail-gallery figure img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-badge {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: rgba(26,26,26,0.72);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.gallery-credit {
  font-size: 0.75rem;
  color: #999;
  margin: -1.25rem 0 1.75rem;
}
.gallery-credit a { color: #777; }
.gallery-credit a:hover { color: var(--color-primary-d); }

.cta-box {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: 6.5rem;
}
.cta-box h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.6rem; }
.cta-box p { color: #ccc; font-size: 0.95rem; margin-bottom: 1.5rem; }
.cta-box .btn { width: 100%; justify-content: center; margin-bottom: 0.75rem; }
.cta-box .related-title {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 0.75rem;
}
.cta-box .related-links { display: flex; flex-direction: column; gap: 0.6rem; }
.cta-box .related-links a { font-size: 0.92rem; color: #ddd; }
.cta-box .related-links a:hover { color: var(--color-accent); }

/* --- Footer ---------------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary-d);
  color: #eef3e9;
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
}
.footer-brand p { color: #d7e4cd; font-size: 0.92rem; max-width: 32ch; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: #d7e4cd; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #c3d3b8;
}
.footer-bottom ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

.footer-credit {
  color: #a9bd9c;
}
.footer-credit a {
  color: #d7e4cd;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(215, 228, 205, 0.4);
}
.footer-credit a:hover { color: #fff; }

/* --- Rechtstexte (Impressum/Datenschutz) --------------------------------------------------------- */
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { color: #444; margin-bottom: 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; }
.legal-content a { color: var(--color-primary-d); text-decoration: underline; }

/* --- WhatsApp Float Button ------------------------------------------------------------------------ */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 90;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.06); }

/* --- Scroll Reveal --------------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* zeitversetztes Einblenden innerhalb von Kachel-/Card-Gruppen */
.tile-grid [data-reveal]:nth-child(2),
.usp-grid [data-reveal]:nth-child(2),
.audience-grid [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.tile-grid [data-reveal]:nth-child(3),
.usp-grid [data-reveal]:nth-child(3),
.audience-grid [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.tile-grid [data-reveal]:nth-child(4),
.usp-grid [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.tile-grid [data-reveal]:nth-child(5) { transition-delay: 0.32s; }
.tile-grid [data-reveal]:nth-child(6) { transition-delay: 0.4s; }
.tile-grid [data-reveal]:nth-child(7) { transition-delay: 0.48s; }
.tile-grid [data-reveal]:nth-child(8) { transition-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Cookie-Hinweis --------------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 200;
  display: none;
  pointer-events: none;
}
.cookie-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  padding: 1.1rem 1.4rem;
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-text {
  font-size: 0.9rem;
  color: #ccc;
  flex: 1 1 320px;
}
.cookie-text strong { color: #fff; }
.cookie-text .cookie-link { color: var(--color-accent); font-weight: 600; margin-left: 0.3rem; }
.cookie-actions { flex: 0 0 auto; }
.cookie-actions .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem; }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
}
