/*
Theme Name: Neutr3alitY
Theme URI: https://neutr3ality.at
Author: Valentin Roither
Description: Kundenseite für Neutr3alitY — climate friendly · self-supply.
Individuelle Konzepterstellung für dezentrale Eigenversorgung. Bilingual (DE/EN), DSGVO-konform, ohne Shop.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: neutr3ality
*/

:root {
  --blue-deep:  #1d4e89;
  --blue-water: #4a90c2;
  --green:      #6fa83c;
  --green-dark: #4f7a28;
  --bg-light:   #f5f7fa;
  --text:       #22313f;
  --white:      #ffffff;
  --radius:     14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Source Sans 3", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue-deep);
  padding: 0.75rem clamp(1rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* FIX: Logo im Sticky-Header — robust gegen DOM-Verschiebung durch WP custom_logo() */
.site-header img.custom-logo {
  max-height: 72px;
  width: auto;
  display: block;
}

/* Wrapper für saubere Ausrichtung (WP rendert eigenen <a>-Tag um das Logo) */
.site-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.lang-switch a { text-decoration: none; color: var(--text); font-size: 0.9rem; }
.lang-switch a:hover { color: var(--blue-deep); }

.main-nav ul { list-style: none; display: flex; gap: 1.5rem; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.main-nav a:hover { color: var(--blue-deep); }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  text-align: center;
}

.hero .tagline {
  display: inline-block;
  background: var(--blue-deep);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--blue-deep);
  max-width: 21ch;
  margin: 0 auto 1rem;
}

.hero p.sub { max-width: 60ch; margin: 0 auto 2rem; }

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--green-dark); }

/* ========== SECTIONS ========== */
section.site-section { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem); }
section.site-section:nth-of-type(even) { background: var(--bg-light); }
.site-section h2 { color: var(--blue-deep); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.site-section .lead { max-width: 65ch; margin-bottom: 1.5rem; }

.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 2px solid var(--blue-water);
}
.card h3 { color: var(--blue-deep); margin-bottom: 0.5rem; font-size: 1.1rem; }

.steps { counter-reset: step; list-style: none; max-width: 65ch; }
.steps li { position: relative; padding-left: 3.2rem; margin-bottom: 1.25rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--blue-water);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.notice {
  background: var(--bg-light);
  border-left: 5px solid var(--green);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  max-width: 65ch;
}

blockquote.official-formulation {
  border-left: 4px solid var(--blue-deep);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  background: var(--bg-light);
  border-radius: 0 8px 8px 0;
}

/* ========== KONTAKT ========== */
.contact-widget-area { max-width: 720px; }
.captcha-note { font-size: 0.85rem; color: var(--text); opacity: 0.8; margin-top: 0.75rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--blue-deep);
  color: var(--white);
  padding: 2.5rem clamp(1rem, 5vw, 4rem);
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer a { color: #cfe3f5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer .foot-tagline { letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 720px) {
  .main-nav ul { flex-direction: column; gap: 0.5rem; }
  .site-header img.custom-logo { max-height: 56px; }
}/* ========== BILDBAND: Voll-Illustration ========== */
.visual-band {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem);
  background: var(--white);
  border-top: 1px solid var(--bg-light);
  border-bottom: 1px solid var(--bg-light);
  display: flex;
  justify-content: center;
}

.visual-band-figure {
  max-width: 560px;
  width: 100%;
  text-align: center;
  margin: 0;
}

.visual-band-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.visual-band-figure figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.75;
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .visual-band-figure { max-width: 100%; }
}