/* =========================================================
   utekroeger.de – Hauptstylesheet (Neuaufbau 2025)
   Mobile-first, kein Framework
   ========================================================= */

/* @import muss vor allen anderen Regeln stehen */
@import url("font-awesome.min.css");

/* ----- Custom Properties -------------------------------- */
:root {
  --green:        #82b440;
  --green-dark:   #5a7d32;
  --green-light:  #a3d060;
  --text:         #444;
  --text-light:   #666;
  --bg:           #fff;
  --bg-gray:      #f5f5f5;
  --bg-dark:      #222;
  --white:        #fff;
  --font-head:    'Poppins', 'Open Sans', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --max-w:        1100px;
  --gap:          2rem;
  --radius:       6px;
  --header-h:     auto;
}

/* ----- Fonts -------------------------------------------- */

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-v44-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ----- Reset -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: underline; }
a:hover { color: var(--green-dark); }
ul, ol { list-style: none; }

/* ----- Typography --------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .6em; }
h2 { font-size: clamp(1.2rem, 3vw, 1.8rem); margin: .8em 0 .5em; }
h3 { font-size: clamp(1rem, 2.5vw, 1.3rem); margin: .6em 0 .3em; color: var(--green); }
h4 { font-size: 1.05rem; margin-bottom: .4em; }
p  { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
em, i     { font-style: italic; }
blockquote {
  border-left: 4px solid var(--green);
  padding: .8em 1.2em;
  margin: 1.5em 0;
  font-style: italic;
  background: rgba(130,180,64,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
hr { border: 0; border-top: 1px solid var(--green); margin: 2em 0; opacity: .4; }

/* ----- Layout ------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4rem 0; }
.section--gray  { background: var(--bg-gray); }
.section--green { background: var(--green); color: var(--white); }
.section--dark  { background: var(--bg-dark); color: var(--white); }
.section--green a { color: var(--white); }
.section--green h2,
.section--green h3 { color: var(--white); }

/* 2-Spalten-Grid */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
/* 3-Spalten-Grid */
.three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

/* ----- Buttons ------------------------------------------ */
.btn {
  display: inline-block;
  padding: .4em .9em;
  border: 2px solid var(--green);
  color: var(--green);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: .78rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .25s, color .25s;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
}
.btn:hover { background: var(--green); color: var(--white); }
.btn--white { border-color: var(--white); color: var(--white); }
.btn--white:hover { background: var(--white); color: var(--green); }
.btn--full  { display: block; text-align: center; white-space: normal; }

/* Button-Gruppe: mobil untereinander, Desktop nebeneinander */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.2rem;
}

/* Ältere .button-Klasse (Kompatibilität bestehende Seiten) */
.button {
  display: inline-block;
  padding: .65em 1.4em;
  border: 2px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .25s, color .25s;
  cursor: pointer;
}
.button.alt { border-color: var(--white); color: var(--white); }
.button.alt:hover { background: var(--white); color: var(--green); }

/* ----- Site Header -------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: .2rem;
  padding-bottom: .15rem;
  gap: 0;
}

.site-logo img {
  width: 161px;
  height: auto;
  display: block;
}

/* ----- Navigation --------------------------------------- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  top: .75rem;
  right: 1.25rem;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  width: 100%;
}
.main-nav.is-open { display: block; }

.main-nav > ul {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eee;
  padding: .5rem 0;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  padding: .6rem 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-family: var(--font-head);
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .85rem;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav li.active > a { color: var(--green); }

/* Dropdown mobile */
.main-nav .dropdown {
  display: none;
  background: var(--bg-gray);
  padding: .25rem 0;
}
.main-nav .has-dropdown.is-open .dropdown { display: block; }
.main-nav .dropdown a {
  padding-left: 2rem;
  font-size: .82rem;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

/* ----- Hero / Banner ------------------------------------ */
.hero {
  min-height: 22vw;
  max-height: 200px;
  background-color: var(--bg-dark);
  background-image: url(../images/banner.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  margin-top: 0;
}
.hero .container { padding-bottom: 1.5rem; }
.hero h1 {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: .25em .55em;
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  line-height: 1.3;
}

/* Seiten-spezifische Banner */
.hero--coaching   { background-image: url(../images/banner1.webp); }
.hero--paare      { background-image: url(../images/banner3.webp); }
.hero--workshop   { background-image: url(../images/banner3.webp); }
.hero--ta         { background-image: url(../images/banner4.jpg); }
.hero--profil     { background-image: url(../images/banner1.webp); }

/* ----- Intro-Karte (style2) ----------------------------- */
.intro-section { padding: 3.5rem 0; background: var(--bg-gray); }
.intro-section h2 { color: var(--green-dark); }
.intro-section h3 { color: var(--green); }

/* ----- Feature-Bereich (grün) -------------------------- */
.feature-section {
  padding: 3.5rem 0;
  background: var(--green);
  color: var(--white);
  text-align: center;
}
.feature-section h2 { color: var(--white); font-size: clamp(1.3rem, 3.5vw, 2rem); }
.feature-section p  { font-size: 1.05rem; }
.feature-section img { margin: 1rem auto; border-radius: var(--radius); }

/* ----- Icon-Kacheln (style4) --------------------------- */
.cards-section { padding: 3.5rem 0; background: var(--white); }
.card { padding: .5rem 0 1.5rem; }
.card .fa {
  display: block;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: .6rem;
}
.card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: .4rem;
}
.card p { font-size: .95rem; color: var(--text-light); }
.card a { color: var(--green); }

/* ----- FAQ ---------------------------------------------- */
.faq-section { padding: 3.5rem 0; background: var(--bg-gray); }
.faq-section h2 { color: var(--green-dark); margin-bottom: 1.5rem; text-align: center; }
.faq-item { margin-bottom: 1.8rem; }
.faq-item h3 { font-size: 1rem; color: var(--green-dark); margin-bottom: .3em; }
.faq-item p  { font-size: .95rem; }
.faq-item a  { color: var(--green-dark); font-weight: 600; }

/* ----- Kontakt ------------------------------------------ */
.contact-section {
  padding: 3.5rem 0;
  background: var(--green);
  color: var(--white);
  text-align: center;
}
.contact-section h2 { color: var(--white); }
.contact-section a  { color: var(--white); font-weight: 600; }
.contact-section p  { font-size: 1.05rem; }
.contact-phone { font-size: 1.4rem; font-weight: 700; margin: 1rem 0; }

/* ----- Footer ------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 2rem 0;
  font-size: .9rem;
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--white); }

/* ----- Inhaltsliste (Unterseiten) ----------------------- */
.content-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2em;
}
.content-list li { margin-bottom: .3em; }

/* ----- Breadcrumb --------------------------------------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  padding: 0;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ----- Walk & Talk Bild --------------------------------- */
.walkandtalk-img {
  max-width: 220px;
  height: auto;
}

/* ----- Grüner Punkt (Ersatz für Hand-Emojis) ----------- */
.green-dot {
  color: var(--green);
  font-size: .7em;
  vertical-align: middle;
  margin-right: .3em;
}

/* ----- Accessibility ------------------------------------ */
.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;
}

/* ----- Icons (FontAwesome) ------------------------------ */
.fa-2x  { font-size: 2rem; }
.icon-green { color: var(--green); }

/* =========================================================
   RESPONSIVE – Tablet+ (≥ 768px)
   ========================================================= */
@media (min-width: 768px) {

  /* Header: Logo zentriert, Nav darunter zentriert */
  .nav-toggle { display: none; }

  .site-header .container {
    flex-direction: column;
    align-items: center;
    padding-top: .3rem;
    padding-bottom: 0;
    gap: .1rem;
  }

  .main-nav {
    display: block !important;
    width: 100%;
  }

  .main-nav > ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-top: none;
    padding: .1rem 0 0;
    gap: .1rem;
  }

  .main-nav > ul > li { position: relative; }

  .main-nav a {
    padding: .3rem .65rem;
    font-size: .82rem;
  }

  /* Dropdown Desktop */
  .main-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(30,30,30,.96);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: .5rem 0;
    z-index: 200;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .main-nav .has-dropdown:hover .dropdown,
  .main-nav .has-dropdown:focus-within .dropdown {
    display: block;
  }
  .main-nav .dropdown a {
    color: var(--white);
    padding: .5rem 1rem;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 400;
  }
  .main-nav .dropdown a:hover { color: var(--green-light); }

  /* Buttons Desktop */
  .btn { padding: .5em 1.2em; font-size: .85rem; letter-spacing: .8px; }
  .btn-group { flex-direction: row; flex-wrap: wrap; }

  /* 2-Spalten */
  .two-col { grid-template-columns: 1fr 1fr; }

  /* 3-Spalten */
  .three-col { grid-template-columns: repeat(3, 1fr); }

  /* Hero */
  .hero { min-height: 160px; max-height: 200px; }

  .feature-section .container { max-width: 800px; }
}

/* =========================================================
   RESPONSIVE – Desktop (≥ 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  body { font-size: 1.05rem; }

  .section { padding: 5rem 0; }
  .intro-section,
  .feature-section,
  .cards-section,
  .faq-section,
  .contact-section { padding: 5rem 0; }

  .main-nav a { font-size: .88rem; padding: .4rem .85rem; }

  .hero { min-height: 170px; max-height: 210px; }
}
