/* ==========================================================================
   Scheuner-Bewegt – Stylesheet
   ========================================================================== */

:root{
  --blue-dark:   #06326b;
  --blue:        #0b5ca8;
  --blue-mid:    #0e6fc7;
  --blue-light:  #2e9fe0;
  --green:       #3fa535;
  --ink:         #1a2430;
  --ink-soft:    #4b5563;
  --bg-grey:     #f3f5f8;
  --bg-grey-2:   #eef1f5;
  --white:       #ffffff;
  --border:      #e2e6ec;

  --container:   1180px;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 10px 30px rgba(6, 50, 107, 0.10);
  --shadow-sm:   0 2px 10px rgba(6, 50, 107, 0.08);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; line-height: 1.2; font-weight: 800; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

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

:focus-visible{
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; transition: transform .15s ease; }
.btn:hover svg{ transform: translateX(3px); }
.btn-primary{
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--blue-mid); box-shadow: var(--shadow); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,0.75);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,0.12); }
.btn-block{ width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 24px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img{ height: 52px; width: auto; }
.brand-text{ display: flex; flex-direction: column; }
.brand-name{
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--ink);
}
.brand-name span{ color: var(--blue); }
.brand-tagline{
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-top: 2px;
}
.brand-tagline em{
  color: var(--green);
  font-style: normal;
}
.brand-tagline .tagline-blue{ color: var(--blue); }

.main-nav ul{
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a{
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover{ color: var(--blue); }
.main-nav a.active{
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.header-meta{
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.header-meta a{ display: inline-flex; align-items: center; gap: 7px; }
.header-meta a:hover{ color: var(--blue); }
.header-meta svg{ width: 15px; height: 15px; flex-shrink: 0; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg{ width: 26px; height: 26px; }

@media (max-width: 480px){
  .brand img{ height: 42px; }
  .brand-name{ font-size: 1.05rem; white-space: nowrap; }
  .brand-tagline{ font-size: 0.58rem; }
}

@media (max-width: 900px){
  .header-meta{ display: none; }
  .nav-toggle{ display: block; }
  .main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open{ max-height: 400px; }
  .main-nav ul{
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
  }
  .main-nav a{
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a.active{ border-bottom: 1px solid var(--border); }
}

/* ---------- Hero (Startseite) ---------- */
.hero{
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,25,50,.80) 0%, rgba(6,25,50,.55) 38%, rgba(6,25,50,.10) 68%, rgba(6,25,50,0) 100%);
}
.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 620px;
  min-width: 0;
  padding-block: 70px;
}
.hero-eyebrow{
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: .2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}
.hero-sub{
  font-size: 1.5rem;
  font-weight: 700;
  color: #7ec4f2;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--blue-light);
  display: inline-block;
}
.hero-text{
  font-size: 1.12rem;
  color: #eef3f8;
  margin-bottom: 30px;
  max-width: 460px;
}

/* ---------- Page header (Unterseiten) ---------- */
.page-hero{
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 300px;
  display: flex;
  align-items: center;
}
.page-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6,25,50,.62) 0%, rgba(6,50,107,.48) 100%);
}
.page-hero-inner{ position: relative; z-index: 1; padding-block: 56px; max-width: 720px; min-width: 0; }
.page-hero-eyebrow{
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.page-hero h1{ font-size: 2.3rem; margin-bottom: 12px; overflow-wrap: break-word; }
.page-hero p{ font-size: 1.08rem; color: #e7edf4; max-width: 560px; }

/* ---------- Generic sections ---------- */
.section{ padding-block: 68px; }
.section-grey{ background: var(--bg-grey); }
.section-title{
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 14px;
}
.section-intro{
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 44px;
  font-size: 1.03rem;
}

/* ---------- Warum-Section (icon + text) ---------- */
.why{
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 880px;
  margin-inline: auto;
}
.why-icon{
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg{ width: 42px; height: 42px; color: var(--blue); }
.why h2{ font-size: 1.45rem; margin-bottom: 10px; }
.why p{ color: var(--ink-soft); font-size: 1.02rem; }

@media (max-width: 640px){
  .why{ flex-direction: column; text-align: center; }
}

/* ---------- Vielseitig / Karten mit Bild ---------- */
.use-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.use-card{ text-align: center; }
.use-card figure{
  margin: 0 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
.use-card img{ width: 100%; height: 100%; object-fit: cover; }
.use-card h3{ font-size: 1.08rem; margin-bottom: 6px; }
.use-card p{ color: var(--ink-soft); font-size: .92rem; }

@media (max-width: 900px){
  .use-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .use-grid{ grid-template-columns: 1fr; max-width: 340px; margin-inline:auto; }
}

/* ---------- Prozess / Steps ---------- */
.process{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  max-width: 1080px;
  margin-inline: auto;
}
.process-step{
  flex: 1;
  max-width: 190px;
  text-align: center;
}
.process-icon{
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--bg-grey);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-icon svg{ width: 40px; height: 40px; color: var(--blue); }
.process-num{
  position: absolute;
  bottom: -8px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: .74rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h3{ font-size: 1rem; margin-bottom: 6px; }
.process-step p{ font-size: .87rem; color: var(--ink-soft); }
.process-arrow{
  flex-shrink: 0;
  align-self: center;
  color: var(--blue);
  opacity: .5;
  margin-top: -40px;
}
.process-arrow svg{ width: 26px; height: 26px; }

@media (max-width: 900px){
  .process{ flex-wrap: wrap; row-gap: 34px; }
  .process-step{ flex: 0 0 42%; }
  .process-arrow{ display: none; }
}
@media (max-width: 480px){
  .process-step{ flex: 0 0 100%; max-width: 260px; }
}

/* ---------- Split: Bild + Trust-Card ---------- */
.split{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 380px;
}
.split-img{
  background-size: cover;
  background-position: center;
}
.split-card{
  background: var(--bg-grey-2);
  display: flex;
  align-items: center;
  padding: 56px 60px;
}
.split-card-inner h2{ font-size: 1.55rem; margin-bottom: 22px; }
.trust-list{ display: flex; flex-direction: column; gap: 14px; }
.trust-list li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink);
}
.trust-list svg{
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  padding: 4px;
}

@media (max-width: 800px){
  .split{ grid-template-columns: 1fr; }
  .split-img{ min-height: 260px; }
  .split-card{ padding: 40px 28px; }
}

/* ---------- Footer contact bar ---------- */
.contact-bar{
  background: var(--blue-dark);
  color: var(--white);
}
.contact-bar-inner{
  display: flex;
  align-items: center;
  gap: 36px;
  padding-block: 26px;
  flex-wrap: wrap;
}
.contact-person{
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 320px;
}
.contact-avatar{
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.85);
  flex-shrink: 0;
}
.contact-avatar img{ width: 100%; height: 100%; object-fit: cover; }
.contact-person h3{ font-size: 1.05rem; margin-bottom: 4px; }
.contact-person p{ font-size: .88rem; color: #cfe0f2; line-height: 1.5; }
.contact-divider{
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.25);
}
.contact-phone{
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 240px;
  font-size: .95rem;
  color: #eaf2fa;
}
.contact-phone .phone-icon{
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-phone svg{ width: 20px; height: 20px; }
.contact-cta{ flex: 0 0 auto; margin-left: auto; }

.site-footer-bottom{
  background: var(--white);
  text-align: center;
  padding-block: 16px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--blue);
  border-top: 1px solid var(--border);
}

@media (max-width: 700px){
  .contact-bar-inner{ justify-content: center; text-align: center; }
  .contact-person{ justify-content: center; }
  .contact-divider{ display: none; }
  .contact-phone{ justify-content: center; }
  .contact-cta{ margin-left: 0; width: 100%; }
  .contact-cta .btn{ width: 100%; justify-content: center; }
}

/* ---------- Content pages (Regenwassernutzung / Über mich) ---------- */
.content-block{
  max-width: 760px;
  margin-inline: auto;
}
.content-block p{
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.content-block p:last-child{ margin-bottom: 0; }
.content-block .lead{
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 600;
}

.two-col{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.two-col img{ border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 860px){
  .two-col{ grid-template-columns: 1fr; }
}

.badge-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.badge{
  background: var(--bg-grey);
  border: 1px solid var(--border);
  color: var(--blue-dark);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- Leistungen list ---------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.service-card .icon-badge{
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-grey);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card svg{ width: 24px; height: 24px; color: var(--blue); }
.service-card h3{ font-size: 1.04rem; margin-bottom: 8px; }
.service-card p{ font-size: .92rem; color: var(--ink-soft); }

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

.callout{
  max-width: 780px;
  margin: 52px auto 0;
  background: var(--bg-grey-2);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 26px 30px;
}
.callout p{ color: var(--ink); font-size: 1.02rem; }
.callout strong{ color: var(--blue-dark); }

/* ---------- Über mich ---------- */
.about-hero{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.about-photo{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.about-photo img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px){
  .about-hero{ grid-template-columns: 1fr; }
  .about-photo{ max-width: 340px; margin-inline: auto; aspect-ratio: 1/1; }
}

/* ---------- Kontakt ---------- */
.contact-layout{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 860px){
  .contact-layout{ grid-template-columns: 1fr; }
}
.contact-info-card{
  background: var(--bg-grey);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.contact-info-card h2{ font-size: 1.3rem; margin-bottom: 18px; }
.contact-info-list{ display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-info-list li{ display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list svg{
  width: 36px; height: 36px; color: var(--white);
  background: var(--blue); border-radius: 50%; padding: 8px; flex-shrink: 0;
}
.contact-info-list div{ font-size: .96rem; color: var(--ink-soft); }
.contact-info-list strong{ display: block; color: var(--ink); margin-bottom: 2px; }

.contact-form{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row{ margin-bottom: 18px; }
.form-row label{
  display: block;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-row input,
.form-row select,
.form-row textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  border-color: var(--blue);
  outline: none;
}
.form-row textarea{ resize: vertical; min-height: 130px; }
.form-grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 480px){ .form-grid-2{ grid-template-columns: 1fr; } }

.form-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.form-consent input{ margin-top: 3px; width: auto; }

.form-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
}
.form-note.success{ background: #e6f6e6; color: #1f6b1f; border: 1px solid #bfe6bf; }
.form-note.error{ background: #fdecec; color: #a12727; border: 1px solid #f3c2c2; }

.honeypot{ position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Map ---------- */
.map-wrap{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}
.map-wrap iframe{ width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Utilities ---------- */
.stack-24 > * + *{ margin-top: 24px; }

/* ---------- Hero headings mobile (placed last: wins cascade over
   base .hero-eyebrow / .page-hero h1 rules of same specificity) ---------- */
@media (max-width: 480px){
  .hero-eyebrow{ font-size: 1.5rem; }
  .hero-sub{ font-size: 1.15rem; }
  .page-hero h1{ font-size: 1.4rem; }
}
