@charset "utf-8";
/* CSS Document */
/* Erster Eintrag ganz oben in Ihrer CSS-Datei */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Verhindert unschöne horizontale Scrollbalken */
	color: #333333;
	}

.hero-header {
    position: relative;
    /* Nutzt Ihr vorhandenes Hintergrundbild */
    background-image: url('logopaedie.avif'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Bestimmt die Höhe des Startbereichs auf dem Desktop */
    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

/* Der Abdunklungs-Filter direkt im CSS gelöst */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* 55% Schwarz über dem Bild */
    z-index: 1;
}

/* Holt den Inhalt vor das dunkle Overlay */
.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff; /* Knallweiß für maximalen Kontrast */
    max-width: 800px;
}

/* Zentriertes Logo-Styling */
.hero-logo img {
    max-width: 100%; /* Breite je nach Logo-Form anpassen */
    max-height: 250px;
    padding: 25px 25px 10px 25px;
    /* Falls das Original-Logo farbig ist, macht dieser CSS-Filter es rein weiß: */
    /* filter: brightness(0) invert(1); */
}

/* Die neue, korrekte Hauptüberschrift */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important; /* Der moderne Ersatz für clip */
  white-space: nowrap !important;
  border: 0 !important;
}


/* Der herabgestufte Untertitel (ehemals der Blickpunkt) */
.hero-subtitle {
    font-size: 1.3rem;
    color: #FFFFFF; /* Leichtes Grauweiß, um der Hauptüberschrift den Vorrang zu lassen */
    text-transform: uppercase; /* Lässt den Titel wie ein edles Siegel wirken */
    letter-spacing: 2px;
    padding: 10px 10px 0px 10px;
}

/* Mobil-Optimierung für kleinere Bildschirme */
@media (max-width: 600px) {
    .hero-header {
        min-height: 60vh; /* Mobil etwas kompakter */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Sektions-Design */
.logopaedie-services {
  padding: 60px 20px;
  /*background-color: #f8fafc;*/
  font-family: sans-serif;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Überschrift & Einleitung */
.logopaedie-services h2 {
  font-size: 2.2rem;
  line-height: 2.2rem !important;
  margin-bottom: 15px;
  hyphens: auto;
}

.intro-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Grid-Layout für die 3 Punkte */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Karten-Design */
.service-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #0ea5e9; /* Sanfter Blauton als Akzent */
}

/* Interaktiver Hover-Effekt */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Icons und Texte in den Karten */
.icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

h2 {
  text-align: center;
  position: relative;
  padding-bottom: 15px; /* Platz für die Linie */
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* Zentriert die Linie exakt */
  width: 300px;                  /* Feste Länge der Linie */
  height: 4px;                  /* Dicke der Linie */
  background-color: lightgrey;    /* Farbe der Linie */
  border-radius: 2px;           /* Leicht abgerundete Ecken */
}

/* Der gemeinsame Block zieht die vertikale Linie */
.datenschutz-block {
  border-left: 3px solid #e0e0e0; /* Dezente, graue Linie links */
  padding-left: 20px;            /* Abstand vom Text zur Linie */
  margin-bottom: 40px;           /* Abstand zum nächsten großen Block */
}

.leistungen-section, .willkommen-section, .impressum-section, .vita-section, .kontakt-section {
    padding: 20px 20px;
    background-color: #ffffff; /* Heller Hintergrund des Hauptteils */
    font-family: sans-serif;
}

.willkommen-section a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.2s ease;
}

.willkommen-section a:hover {
    color: grey;
}

.willkommen-section li {
    padding-bottom: 0.5rem;
}

/* Optimierte Abstände für ein luftiges, edles Design */
.willkommen-section {
    max-width: 1200px;
    margin: 40px auto; /* 40px Abstand nach oben und unten */
    line-height: 1.6rem; /* Erhöht für deutlich bessere Lesbarkeit auf Bildschirmen */
}

.willkommen-section a {
	color: #333333;
}

/* Stellt die saubere Einrückung der Liste wieder her */
.willkommen-section ul {
    padding-left: 45px; /* Schiebt die gesamte Liste nach rechts */
    margin-top: 15px;   /* Gibt der Liste etwas Abstand zum Fließtext darüber */
    margin-bottom: 15px;
}

.impressum-section {
    max-width: 1200px;
    margin: 40px auto; /* 40px Abstand nach oben und unten */
    line-height: 1.6rem; /* Erhöht für deutlich bessere Lesbarkeit auf Bildschirmen */
	hyphens: auto;
}
.impressum-section h3 {
    font-size: 1.1rem;
	margin-bottom: 1rem;
    
}
impressum-section h4 {
  font-size: 1rem;
  font-weight: 510;              /* Nur minimal dicker als Fließtext */
  color: #555;
}
.datenschutz-block h4 {
	padding-top: 1rem;
}

.abstand {
margin-bottom: 2rem;
}
.leistungen-section h2, .willkommen-section h2, .impressum-section h2, vita-section h2, .kontakt-section h2 {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.7rem;
}

/* Das responsive CSS-Grid */
.leistungen-grid {
    display: grid;
    /* auto-fit füllt die Zeile, minmax sorgt dafür, dass Boxen nie schmaler als 300px werden */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styling der einzelnen Leistungs-Karten */
.leistung-card {
    background-color: #f9f9f9; /* Minimal abgesetztes Grau für Tiefe */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    position: relative; /* Wichtig für die Positionierung der Badges */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.leistung-card h3 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #111111;
}

.leistung-card ul {
    padding-left: 20px;
    margin: 0;
}

.leistung-card li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Alters-Badges (Labels) oben rechts in den Ecken */
.badge-container {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
}

.badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Sanfte, professionelle Farben für die Badges */
.badge-kind {
    background-color: #e3f2fd;
    color: magenta;
}

.badge-erwachsene {
     background-color: #e3f2fd;
    color: blue;
}
/* Grundaufbau der Sektion */
.vita-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: sans-serif;
    line-height: 1.6rem;
}

.vita-text h2 {
	margin-bottom: 2rem;
}
/* Flexbox-Container */
.vita-container {
    display: flex;
    flex-direction: column; /* Mobil alles untereinander */
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Desktop-Ausrichtung ab 768px */
@media (min-width: 768px) {
    .vita-container {
        flex-direction: row; /* Nebeneinander */
        align-items: flex-start; /* Verhindert, dass sich die Boxen unschön verzerren */
    }
    .vita-figur {
        width: 40%; /* Linke Spalte nimmt 40% Platz ein */
    }
    .vita-text {
        width: 60%; /* Rechte Spalte nimmt 60% Platz ein */
    }
}

/* Bild-Styling & Reset */
.vita-figur {
    margin: 0; /* Wichtig! Überschreibt den Standard-Browser-Abstand */
    text-align: center;
}

.vita-figur img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.vita-name {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    
}

.vita-name .titel {
    font-weight: normal;
    color: #666;
    font-size: 0.95rem;
}

/* --- LEBENSLAUF TABELLEN-CSS  --- */
.cv-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.cv-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv-liste li {
    display: flex;
    flex-direction: column; /* Mobil: Jahr über dem Text */
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Ab kleiner Tablet-Breite wird es zur sauberen Tabelle */
@media (min-width: 480px) {
    .cv-liste li {
        flex-direction: row; /* Jahr und Text nebeneinander */
    }
}

.cv-jahr {
    font-weight: bold;
    width: 130px; /* Feste Breite für die linke "Jahres-Spalte" */
    flex-shrink: 0; /* Verhindert das Zusammenquetschen der Jahreszahl */
}

/* --- JS-REGLER --- */
.hidden-text {
    display: none;
}

.hidden-text.show {
    display: block; /* Schaltet die Liste sauber ein */
}

/* Button-Design */
.read-more-btn {
    background: none;
    border: 2px solid lightgrey;
    padding: 10px 22px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.read-more-btn:hover {
    background-color: grey;
    color: #fff;
}
/* --- STICKY NAVIGATION --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.95); 
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

/* Mobil-Layout: Elemente werden untereinander gestapelt und zentriert */
.nav-container {
    display: flex;
    flex-direction: column; /* Untereinander */
    align-items: center;
    gap: 10px;              /* Abstand zwischen Name und den Links */
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

.nav-brand {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 20px; /* Abstand zwischen den drei Links */
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* DESKTOP-OPTIMIERUNG (Ab einer Breite von 600px) */
@media (min-width: 600px) {
    .nav-container {
        flex-direction: row;             /* Schaltet um auf nebeneinander */
        justify-content: space-between;  /* Name links, Links rechts */
        padding: 15px 20px;              /* Etwas mehr Luft auf großen Bildschirmen */
    }
}

/* Damit die Überschriften beim Klick auf die Links nicht hinter dem 
   nun etwas höheren mobilen Menü verschwinden, passen wir das Padding an */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Erhöht, um das zweizeilige mobile Menü auszugleichen */
}


/* WICHTIG: Damit der Header nicht unter dem fixierten Menü verschwindet, 
   geben wir dem HTML ein sanftes Scroll-Verhalten */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Höhe der Menüleiste, damit Überschriften nicht verdeckt werden */
}
.kontakt-section {
    padding: 60px 20px;
    background-color: #ffffff; /* Eingebettet in den hellen Bereich */
    
}

.kontakt-container {
    display: flex;
    flex-direction: column; /* Mobil untereinander */
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Ab Desktop-Breite (768px) nebeneinander */
@media (min-width: 768px) {
    .kontakt-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .kontakt-karte, .kontakt-info-box {
        width: 50%; /* Exakte 50/50-Aufteilung */
    }
}

/* Kartenseite */
.kontakt-karte {
    margin: 0;
}

.kontakt-karte img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Optisch passend zu den Leistungen-Cards */
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: block;
    transition: transform 0.2s ease;
}

/* Kleiner Hover-Effekt, damit der Nutzer merkt, dass die Karte klickbar ist */
.kontakt-karte a:hover img {
    transform: scale(1.01);
}

.karten-hinweis {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: normal;
    text-align: center;
}
.karten-hinweis a {
	color: #333333;
}
.karten-hinweis p {
	padding-bottom: 1rem;
}
/* Infoseite */
.kontakt-info-box h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
 }

.kontakt-einleitung {
    line-height: 1.5;
    margin-bottom: 25px;
}
.kontakt-einleitung a {
	color: #333333;
}
.kontakt-einleitung a:hover {
	color: lightgrey;
}

.kontakt-details {
    list-style: none;
    padding: 0 !important; /* Überschreibt die Willkommens-Einrückung */
    margin: 0;
}

.kontakt-details li {
    margin-bottom: 20px;
    line-height: 1.5;
}

.kontakt-link {
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dashed #666666;
    transition: color 0.2s ease;
}

.kontakt-link:hover {
    color: grey;
}
/*Kontaktformular */

form[name="eingabe"] input[type="text"],
form[name="eingabe"] input[type="email"],
form[name="eingabe"] input[type="tel"],
form[name="eingabe"] input[type="number"],
form[name="eingabe"] textarea {
    padding: 0.8rem;
	margin-bottom: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.checkbox-container label {
    font-weight: normal;
    font-size: 0.9rem;
    cursor: pointer;
}
form a {
	text-decoration: none;
	color: #111111;
}
form a:hover {
	color: lightgrey;
}
form[name="eingabe"] button {
    background-color: lightgrey;
    color: white;
    padding: 0.8rem 2rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

form[name="eingabe"] button:hover {
    background-color: grey;
}

.hidden-honeypot {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
}

/* --- FOOTER LAYOUT --- */
.main-footer {
    background-color: rgba(20, 20, 20, 0.95); 
    color: white;
    padding: 30px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    display: flex;
    flex-direction: column; /* Mobil untereinander */
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 600px) {
    .footer-container {
        flex-direction: row; /* Desktop nebeneinander */
        justify-content: space-between;
        text-align: left;
    }
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}
