/* =====================================================
   edu22 – Pädagogik & Psychotherapie vereint.
   Stylesheet
   ===================================================== */

/* --- Inter Font (selbst gehostet, DSGVO-konform) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Basis --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: disc; padding-left: 1.4em; }
img, svg { max-width: 100%; height: auto; }
* { word-break: break-word; }

/* --- Farben --- */
:root {
  --gruen-dunkel: #1e4d35;
  --gruen-akzent: #7bbf00;
  --gruen-hell: #e8f0c8;
  --gruen-gradient-von: #f0f5d0;
  --gruen-gradient-zu: #b8d840;
  --weiss: #ffffff;
  --grau-text: #333;
  --grau-leicht: #f5f5f5;
}

/* --- Hintergrund-Gradient (Seiteninhalt) --- */
.page-bg {
  background:
    radial-gradient(ellipse 70% 65% at 95% 85%, rgba(168, 218, 0, 0.72) 0%, rgba(200, 235, 60, 0.28) 45%, transparent 68%),
    #f9fce8;
  flex: 1;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
header {
  background: #fff;
  border-bottom: 1px solid #e0edd6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-logo .logo-placeholder {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  text-align: center; line-height: 1.2;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

nav ul li a {
  color: var(--gruen-dunkel);
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.aktiv {
  color: var(--gruen-dunkel);
  background: var(--gruen-hell);
}

nav ul li a.aktiv {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; width: 25px; height: 2px;
  background: var(--gruen-dunkel); border-radius: 2px;
  transition: 0.3s;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-links-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  font-weight: 400;
}

.footer-links-text strong {
  font-weight: 500;
  color: #444;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  color: #555;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--gruen-dunkel); color: var(--gruen-dunkel); }

.footer-rechtliches {
  text-align: right;
  font-size: 13px;
}
.footer-rechtliches strong { display: block; margin-bottom: 4px; color: #333; }
.footer-rechtliches a { color: #555; display: block; margin-top: 2px; }
.footer-rechtliches a:hover { color: var(--gruen-dunkel); text-decoration: underline; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-dunkel {
  background: var(--gruen-dunkel);
  color: #fff;
  border-color: var(--gruen-dunkel);
}
.btn-dunkel:hover { background: #143526; border-color: #143526; }

.btn-outline {
  background: transparent;
  color: var(--gruen-dunkel);
  border-color: var(--gruen-dunkel);
}
.btn-outline:hover { background: var(--gruen-dunkel); color: #fff; }

/* =====================================================
   STARTSEITE – HERO
   ===================================================== */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  background:
    radial-gradient(ellipse 70% 65% at 95% 85%, rgba(168, 218, 0, 0.72) 0%, rgba(200, 235, 60, 0.28) 45%, transparent 68%),
    #f9fce8;
}

.hero-content {
  max-width: 700px;
}

.hero-sub-titel {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: var(--gruen-akzent);
  opacity: 1;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gruen-dunkel);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero h1 .akzent {
  color: var(--gruen-akzent);
}

.hero p {
  font-size: 17px;
  color: #444;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero .btn-dunkel {
  background: var(--gruen-dunkel);
  color: #fff;
  border-color: var(--gruen-dunkel);
}
.hero .btn-dunkel:hover {
  background: #143526;
  border-color: #143526;
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-logo {
  display: none;
}

.hero-logo-placeholder {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 3px solid var(--gruen-dunkel);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--gruen-dunkel);
  flex-direction: column; gap: 4px;
}

/* Hero Layout – Haus links, Text rechts */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  text-align: left;
  margin: 0 auto 20px;
  max-width: 800px;
}

.hero-haus-icon {
  width: 220px;
  height: 220px;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.hero-text {
  flex: 1;
}

.hero-text .hero-buttons {
  justify-content: flex-start;
}

/* Expertise Sektion */
.expertise-section {
  padding-bottom: 60px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.expertise-karte {
  background: rgba(255,255,255,0.75);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--gruen-akzent);
  transition: transform 0.22s, box-shadow 0.22s;
}

.expertise-karte:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.expertise-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 10px;
}

.expertise-karte h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gruen-dunkel);
  margin-bottom: 8px;
}

.expertise-karte p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #444;
}

/* =====================================================
   SEITEN – ALLGEMEIN
   ===================================================== */
.page-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--gruen-dunkel);
  text-align: center;
  margin-bottom: 48px;
}

.divider {
  border: none;
  border-top: 2px dotted #aac050;
  margin: 48px 0;
}

/* =====================================================
   DAS TEAM
   ===================================================== */
.team-member {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 4px solid var(--gruen-akzent);
}

.team-member.rechts {
  grid-template-columns: 1fr 220px;
}
.team-member.rechts .team-foto { order: 2; }
.team-member.rechts .team-info { order: 1; }

.team-foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.team-foto img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  border: 4px solid var(--gruen-hell);
  display: block;
}

.team-foto .foto-placeholder {
  width: 170px; height: 170px;
  background: #d8e8b0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #5a7a2a; font-size: 14px; font-weight: 600;
  text-align: center; padding: 16px;
}

.team-info h2 {
  font-size: 1.6rem;
  color: var(--gruen-dunkel);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gruen-hell);
}

.team-abschnitt {
  margin-bottom: 16px;
}

.team-abschnitt h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  margin-bottom: 6px;
}

.team-abschnitt ul {
  font-size: 14.5px;
  line-height: 1.7;
  color: #333;
}

/* =====================================================
   ANGEBOTE
   ===================================================== */
.angebote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.angebot-karte {
  background: rgba(255,255,255,0.75);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--gruen-akzent);
  transition: transform 0.22s, box-shadow 0.22s;
}
.angebot-karte:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.angebot-karte .angebot-bild {
  text-align: center;
  margin-bottom: 16px;
}

.angebot-karte .angebot-bild img {
  max-height: 130px;
  width: auto;
}

.angebot-icon {
  width: 80px;
  height: 80px;
  color: var(--gruen-dunkel);
  display: block;
  margin: 0 auto;
}

.angebot-karte h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gruen-dunkel);
  margin-bottom: 12px;
}

.angebot-karte .label {
  font-weight: 700;
  font-size: 14px;
  color: var(--gruen-dunkel);
  margin-top: 10px;
  display: block;
}

.angebot-karte p, .angebot-karte li {
  font-size: 14.5px;
  line-height: 1.65;
  color: #333;
}

.angebot-karte .preis {
  margin-top: 14px;
  font-weight: 700;
  color: var(--gruen-dunkel);
  font-size: 15px;
}

.angebot-karte ul {
  padding-left: 18px;
  margin: 6px 0 10px;
}

.angebot-karte li {
  font-size: 14.5px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 4px;
}

/* Digi-Buddy – volle Breite, 2-spaltiger Inhalt */
.digi-buddy-karte {
  grid-column: 1 / -1;
}

.digi-buddy-karte .digi-tagline {
  font-style: italic;
  font-weight: 600;
  color: var(--gruen-dunkel);
  margin-bottom: 16px;
}

.digi-buddy-inhalt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 8px;
}


/* Einzel/Paar – 3 Spalten */
.einzel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.einzel-karte {
  background: rgba(255,255,255,0.75);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--gruen-akzent);
  transition: transform 0.22s, box-shadow 0.22s;
}
.einzel-karte:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.einzel-karte .einzel-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.einzel-karte h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gruen-dunkel);
  margin-bottom: 10px;
}

.einzel-karte p { font-size: 14px; line-height: 1.6; color: #444; }
.einzel-karte .preis { font-weight: 700; color: var(--gruen-dunkel); margin-top: 12px; font-size: 14.5px; }

/* =====================================================
   SCHWERPUNKTE
   ===================================================== */
.schwerpunkt-block {
  margin-bottom: 40px;
}

.schwerpunkt-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gruen-dunkel);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schwerpunkt-block ul {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* =====================================================
   ORGANISATORISCHES
   ===================================================== */
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.org-karte {
  background: rgba(255,255,255,0.75);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--gruen-akzent);
  transition: transform 0.22s, box-shadow 0.22s;
}
.org-karte:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.org-karte .org-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}

.org-karte h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gruen-dunkel);
  margin-bottom: 12px;
}

.org-karte p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #333;
}

/* =====================================================
   KONTAKTFORMULAR
   ===================================================== */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.kontakt-form-seite h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  margin-bottom: 24px;
}

.form-gruppe {
  margin-bottom: 18px;
}

.form-gruppe label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.form-gruppe input,
.form-gruppe textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  font-size: 15px;
  font-family: inherit;
  color: #222;
  transition: border-color 0.2s;
  outline: none;
}

.form-gruppe input:focus,
.form-gruppe textarea:focus {
  border-color: var(--gruen-dunkel);
}

.form-gruppe textarea { height: 110px; resize: vertical; }

.radio-gruppe {
  margin-bottom: 24px;
}

.radio-gruppe legend {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 10px;
}

.radio-gruppe label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #333;
  margin-bottom: 6px;
  cursor: pointer;
}

.radio-gruppe input[type="radio"] {
  accent-color: var(--gruen-dunkel);
  width: 16px; height: 16px;
}

/* Kontakt-Info */
.kontakt-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gruen-dunkel);
  margin-bottom: 20px;
}

.kontakt-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.kontakt-info ul li {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  padding: 4px 0;
}

.kontakt-info ul li a {
  color: var(--gruen-dunkel);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kontakt-info .hinweis {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 10px;
}

.kontakt-info .hinweis strong { color: #333; }

.karte-container {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.karte-container iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
}

/* =====================================================
   IMPRESSUM / DATENSCHUTZ / AGB
   ===================================================== */
.rechtliches-inhalt {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}

.rechtliches-inhalt h1 {
  font-size: 2rem;
  color: var(--gruen-dunkel);
  margin-bottom: 32px;
}

.rechtliches-inhalt h2 {
  font-size: 1.2rem;
  color: var(--gruen-dunkel);
  margin: 28px 0 10px;
}

.rechtliches-inhalt p, .rechtliches-inhalt li {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

/* =====================================================
   ERFOLGS-MELDUNG (Kontaktformular)
   ===================================================== */
.alert-success {
  background: #d4edda;
  border: 1px solid #a8d9b3;
  color: #1e4d35;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 15px;
}

.alert-error {
  background: #fde8e8;
  border: 1px solid #f5b0b0;
  color: #7a1a1a;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 15px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 820px) {
  .angebote-grid { grid-template-columns: 1fr; }
  .digi-buddy-inhalt { grid-template-columns: 1fr; }
  .einzel-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: 1fr; }
  .kontakt-layout { grid-template-columns: 1fr; }

  /* Team: Foto zentriert oben, Info unten */
  .team-member, .team-member.rechts {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }
  .team-member.rechts .team-foto { order: 0; }
  .team-member .team-foto { align-items: center; }
  .team-info h2 { font-size: 1.4rem; }
  .team-abschnitt h4 { text-align: center; }
  .team-abschnitt ul { text-align: left; display: inline-block; width: 100%; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-rechtliches { text-align: center; }

  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .page-section { padding: 36px 16px; }
  .section-title { margin-bottom: 28px; }
  .angebot-karte { padding: 20px 16px; }
  .einzel-karte { padding: 20px 16px; }
  .org-karte { padding: 24px 16px; }
  .angebote-grid { gap: 20px; }
  .einzel-grid { gap: 16px; }
  .org-grid { gap: 16px; }
}

@media (max-width: 620px) {
  nav ul { display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #fff;
    padding: 16px 24px; border-bottom: 1px solid #e0edd6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 99; }
  nav ul.offen { display: flex; }
  .hamburger { display: flex; }

  .hero { padding: 36px 20px 52px; }
  .hero-content { width: 100%; max-width: 100%; }
  .hero-layout {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }
  .hero-haus-icon { width: 100px !important; height: 100px !important; max-width: 100px !important; flex-shrink: 1; }
  .hero-text { width: 100%; min-width: 0; }
  .hero-text .hero-buttons { justify-content: center; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }

  .einzel-grid { grid-template-columns: 1fr; }

  .angebot-karte h3 { font-size: 1rem; }
  .section-title { font-size: 1.4rem; }

  .expertise-grid { grid-template-columns: 1fr; }
  .rechtliches-inhalt { padding: 36px 16px; }
  .kontakt-info h2 { font-size: 1.3rem; }

  .schwerpunkt-block h2 { font-size: 1.2rem; }

  .org-grid { grid-template-columns: 1fr; }
  .org-karte { padding: 20px 16px; }

  footer { padding: 20px 16px; }
  .footer-inner { gap: 12px; }
}
