/* ===== Farben ===== */
:root {
    --stahlblau: #12418c;
    --sandbeige: #DCD2C5;
    --tuerkis: #e1ebd5;
    --offwhite: #FAFAFA;
    --terracotta: #ff7c04;
    --hellblau: #bfcde1;
    --mittelblau: #809ac2;

}

/* ===== Grundlayout ===== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

.title {
    font-family: 'Poppins', sans-serif; /* passt zu deinen Headlines */
    font-size: 3.0rem;  /* sehr groß, ggf. noch größer machen */
    font-weight: 400;   /* fett */
    color: var(--terracotta);      /* Highlight-Farbwert */
    text-align: center; /* optional zentrieren */
    margin: 1.5rem 0;   /* etwas Abstand nach oben/unten */
}

body {
    margin: 0; /* Margin oben entfernen */
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--stahlblau);
    background-color: var(--offwhite);
    line-height: 1.6;
    scroll-behavior: smooth;
    text-align: center;
    scroll-padding-top: 220px; /* Höhe der Navbar */
}


h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500; 
    color: var(--stahlblau);
    margin: 0 0 1rem 0;
    margin-top: 2rem;
    text-align: center;
}

.highlight {
    color: var(--terracotta);
}

section {
    margin-bottom: 6rem; /* Abstand nach unten */
    scroll-margin-top: 50px; /* Höhe deiner Navbar + Luft */
}

/* ==== Navbar Fix & Section Offset ==== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--offwhite);
    color: var(--stahlblau);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    z-index: 1000;
}

.logo {
    display: flex;
    justify-content: center; /* zentriert horizontal */
    align-items: center;
    font-weight: bold;
    font-size: 2.0rem;
    margin-bottom: 3rem; /* Abstand zur zweiten Zeile */
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: center; /* zentriert die Links */
    gap: 6.0rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--stahlblau); /* Stahlblau statt Offwhite */
    text-decoration: none;
    font-weight: normal;
}

.nav-links a:hover {
    color: var(--tuerkis); /* gedämpftes Türkis */
    transition: color 0.3s ease; /* sanfter Übergang */
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* ===== Hero-Bereich ===== */

.hero {
    position: relative;
    height: 100vh;
    background: url('images/start.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1200px;  /* maximale Breite der Inhalte */
    margin: 0 auto;     /* zentriert die Inhalte horizontal */
    padding: 0 20px;    /* Abstand links und rechts */
    box-sizing: border-box;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Türkises Band über ganze Breite */ 
.turquoise-band { 
    background-color: var(--tuerkis); 
    width: 100%; 
    padding: 0px 0 0px 0; /* oben unten Abstand */ }

.hero-content {
    position: relative;
    color: var(--offwhite);
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-text {
    text-align: left;
    margin-bottom: 1rem;
}

.scroll-down {
    color: var(--offwhite);
    font-weight: bold;
    text-decoration: none;
}

/* ===== Über Mich ===== */

.about {
    display: flex;
    justify-content: flex-start; /* Inhalte starten links */
    max-width: 1200px;           /* optional: wenn du die Breite begrenzen willst */
    margin: 6rem auto 0 auto;    /* Abstand oben, zentriert */
    gap: 2rem;
    background: var(--offwhite);
    box-sizing: border-box;
    padding: 0;                  /* kein Padding */
}

.about-container {
    display: flex;
    align-items: stretch;        /* Bild und Text gleich hoch */
    width: 100%;
    gap: 40px;                   /* Abstand zwischen Bild und Text */
}


.about-image img {
    width: 500px;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-left: -2rem;
}

.about-text {
    flex: 1;
    color: var(--stahlblau);
    padding: 2rem 20px; /* oben | rechts | unten | links */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h3 {
    margin-right: 40px; /* zusätzlicher Außenabstand */
}

.about-text p {
    margin-right: 40px; /* zusätzlicher Außenabstand */
    text-align: left;
}

/* ===== Approach ===== */

.approach {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 900px;  /* maximale Breite der Inhalte */
    margin: 0 auto;     /* zentriert die Inhalte horizontal */
    padding: 3.5rem 20px;    /* Abstand links und rechts */
    box-sizing: border-box;
    background: var(--offwhite);
}

.approach-text {
    text-align: left;
    margin-bottom: 1rem;
}

/* ===== Accordion ===== */

.accordion-section {
    position: relative;
    background: url('images/heute.jpg') center/cover no-repeat;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px 2rem 20px;
    box-sizing: border-box;
}

.accordion-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.accordion-supertitle {
    position: relative;
    text-align: left;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--terracotta);
    padding: 0 40px;
}

.accordion-item {
    background: transparent; /* Standard: transparent */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.6s ease, opacity 0.6s ease, background 0.3s ease;
}

.accordion-item.active {
    background: var(--offwhite); /* nur aktives Item hat weißen Hintergrund */
}

.accordion-item.visible {
    transform: translateY(0);
    opacity: 1;
}

.accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.accordion-header {
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent; /* Header immer transparent, Hintergrund nur bei active */
    border-bottom: 1px solid #ddd;
    color: white; /* Standard: geschlossen = weiß */
    transition: color 0.3s ease;
}

.accordion-header span {
    display: inline-block;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Smooth Accordion Content Animation */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    background: transparent;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

/* Geöffnete Accordion-Überschrift */
.accordion-item.active .accordion-header {
    color: var(--stahlblau); /* offen = dunkelblau */
}

.accordion-item.active .accordion-content {
    padding: 1rem;
    max-height: 500px; /* JS überschreibt dies dynamisch */
}

.accordion-item.active .accordion-header span {
    transform: rotate(45deg); /* + wird zu x */
}


/* ===== Dienstleistungen ===== */
.services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* horizontal zentrieren */
    gap: 2rem;
    background: var(--hellblau);
    max-width: 1000px;  /* maximale Breite der Inhalte */
    margin: 0 auto;     /* zentriert die Inhalte horizontal */
    padding: 3.5rem 20px;    /* Abstand links und rechts */
    box-sizing: border-box;
}

.services-text {
    padding: 0 60px;    /* Abstand links und rechts */
    text-align: left;
    margin-bottom: 1rem;
}

/* Blaues Band über ganze Breite */ 
.blue-band { 
    background-color: var(--hellblau); 
    width: 100%; 
    padding: 0px 0 0px 0; /* oben unten Abstand */ }

.offer {
    display: flex;
    align-items: center;   /* Bild und Text auf einer Höhe */
    gap: 1rem;
    margin: 2rem 0;        /* Abstand zu anderen Sektionen */
    max-width: 1200px; /* Gesamtbreite von Bild + Box */
    position: relative;    /* für die Überlappung wichtig */
}

.offer img {
    width: 500px;
    height: auto;
    flex-shrink: 0;        /* verhindert, dass das Bild zu klein gedrückt wird */
}

.offer-text {
    background: var(--offwhite);
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-left: -60px;    /* überlappt das Bild */
    z-index: 1;            /* Textbox liegt über dem Bild */
    width: 600px;      /* verhindert, dass der Text zu breit läuft */
}


/* ===== CTA Button ===== */

.cta-button {
    display: inline-block;
    background: var(--terracotta);
    color: var(--offwhite);
    border-radius: 4px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #a65f4e;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--offwhite);
    text-align: center;
    max-width: 1200px;  /* maximale Breite der Inhalte */
    margin: 4rem auto 0 auto;     /* zentriert die Inhalte horizontal */
    padding: 0 20px 2rem 20px;    /* Abstand links und rechts */
    box-sizing: border-box;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 1s ease-in-out;
}

.testimonial-controls button {
    background: var(--tuerkis);
    border: none;
    padding: 0.5rem 1rem;
    margin: 1rem;
    cursor: pointer;
    border-radius: 50%;
}

/* ===== Kontakt ===== */
/* Blaues Band über ganze Breite */ 
.middleblue-band { 
    background-color: var(--mittelblau); 
    width: 100%; 
    padding: 0px 0 0px 0; /* oben unten Abstand */ }

.contact-section {
  max-width: 1000px;
  margin: 6rem auto;
  padding: 2rem;
  text-align: center;
  background: var(--mittelblau);
}

.contact-title {
  font-size: 2rem;
  color: var(--stahlblau);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--stahlblau);
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.submit-btn {
  padding: 1rem;
  background: var(--terracotta);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--stahlblau);
}

/* Kontaktinformationen */
.info-title {
  font-size: 1.5rem;
  color: var(--stahlblau);
  margin-bottom: 1.5rem;
  margin-top: 6rem; /* Abstand nach oben anpassen */
}

.contact-info table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.contact-info th {
  font-weight: bold;
  color: var(--terracotta);
  padding-bottom: 0.5rem;
}

.contact-info td {
  padding: 0.75rem 1rem;
  color: var(--stahlblau);
}


/* ===== Blog Übersicht Seite ===== */
.blog-section {
    background-color: var(--tuerkis);
    padding: 4rem 20px;
}

.blog-articles { 
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* immer 2 Spalten */
    gap: 2rem;
    max-width: 1000px; /* max Breite der gesamten Blog-Section */ 
    margin: 0 auto;
    justify-content: center; /* <-- neue Zeile: Karten mittig */
}

.blog-section-title { 
    font-family: 'Poppins', sans-serif; 
    font-size: 2.5rem; 
    color: var(--stahlblau); 
    margin-bottom: 3rem; 
    margin-top: 15rem;
    text-align: center; 
} 

.blog-card { 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; /* Titel oben, Meta unten */ 
    background: var(--offwhite); 
    width: 480px; 
    height: 420px; /* etwas mehr Platz für Titel */ 
    padding: 1.5rem; 
    border-radius: 8px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
    text-decoration: none; 
    color: inherit; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    overflow: hidden; 
} 

.blog-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
} 

.blog-card img { 
    width: 100%; 
    height: 140px; 
    object-fit: cover; 
    border-radius: 4px; 
    margin-bottom: 1rem; 
} 

.blog-card h2 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 600; 
    line-height: 1.4; 
    height: 6rem; /* Platz für bis zu 4 Zeilen */ 
    overflow: hidden; 
    margin: 0 0 1.2rem 0; /* Abstand nach unten, damit Meta nicht überlappt */ 
} 

.blog-card p { 
    font-size: 0.95rem; 
    margin: 0.25rem 0; 
} 

.blog-meta {
    font-size: 0.9rem;
    color: var(--stahlblau);
    display: flex;
    justify-content: space-between; /* links-rechts */
    align-items: center; /* vertikal zentriert */
    width: 100%; /* volle Breite der Karte */
    margin-top: auto; /* immer unten */
}

.blog-meta span {
    font-weight: bold;
    display: inline-block; /* sicherstellen, dass sie sich korrekt im Flex-Container verhalten */
}

.blog-meta1 {
    font-size: 0.9rem;
    color: var(--stahlblau);
    display: flex;
    justify-content: flex-start; /* links-rechts */
    align-items: center; /* vertikal zentriert */
    width: 100%; /* volle Breite der Karte */
    margin-top: auto; /* immer unten */
}

/* ===== Animationen ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ========= Fix für Überschriften- UND Section-Sprung ========= */
h1::before,
h2::before,
h3::before,
section::before {
    content: "";
    display: block;
    height: 50px;       /* Höhe der fixierten Navbar */
    margin-top: -50px;  /* negativen Abstand setzen */
    visibility: hidden;
    pointer-events: none;
}


/* ===== Türkises Band ===== */
.blog-hero-band {
    background-color: var(--tuerkis);
    width: 100%;
    padding: 8rem 0 4rem 0; /* mehr Höhe für hero */
    text-align: center;
}

.blog-hero h1 {
    color: var(--offwhite);
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin: 0;
}

/* ===== Weißer Artikelbereich ===== */
.blog-title { 
    font-family: 'Poppins', sans-serif; 
    font-size: 2.5rem; 
    color: var(--stahlblau); 
    margin-bottom: 2rem; 
    margin-top: 20rem;
    text-align: center; 
} 

.blog-content {
    background-color: var(--offwhite);
    max-width: 900px;
    margin: -120px auto 4rem auto; /* überlappt das türkise Band */
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: var(--stahlblau);
    line-height: 1.8;
    font-family: 'Nunito', sans-serif;
    position: relative;
    z-index: 10; /* sicherstellen, dass es über dem Band liegt */
}

.blog-content img {
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.blog-content h2 {
    color: var(--stahlblau);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
}

.blog-content p {
    color: var(--stahlblau);
    font-size: 1.2rem;
    text-align: left;
}

.blog-content ul {
    text-align: left;
}

/* ===== Share Buttons ===== */
.share-article {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--stahlblau);
}

.share-article span {
    font-weight: 600;
}

.share-icon svg {
    width: 24px;
    height: 24px;
    transition: fill 0.3s;
    fill: var(--stahlblau);
    cursor: pointer;
}

.share-icon:hover svg {
    fill: var(--tuerkis);
}

/* ===== Weitere Blogartikel ===== */
.related-articles {
    background-color: var(--tuerkis);
    padding: 4rem 2rem;
}

.related-articles h3 {
    color: var(--stahlblau);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.related-articles .blog-articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Angebot-Details */

/* Angebotsbild mit Overlay */
.offer-hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: 15rem;
    margin-bottom: 0;
}

.offer-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-title {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    padding: 0 20px;
}

/* Info Section mit türkisem Hintergrund und Abstand oben/unten */
.info-section {
    background-color: var(--hellblau);
    display: flex;
    justify-content: center;
    padding: 40px 0; /* Abstand über und unter der Box */
    margin: 0;        /* kein zusätzlicher Margin */
}

/* Weiße Box für Dauer/Kosten */
.info-container {
    max-width: 800px;
    background-color: var(--offwhite);
    border: 2px solid var(--stahlblau);
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Titel in der Box */
.info-item h1 {
    font-size: 1.3rem;               /* Schrift kleiner */
    margin-top: 0;
    margin-bottom: 5px;              /* kleiner Abstand unter Überschrift */
}

/* Inhalte (z. B. Dauer/Kosten) */
.info-item h3 {
    font-size: 1.1rem;               /* etwas kleinere Schrift */
    margin: 0;
}

/* Beschreibung Section direkt darunter */
.description-section {
    background-color: var(--hellblau); /* gleiche Farbe wie info-section */
    display: flex;
    justify-content: center;
    padding-top: 0;       /* kein Padding oben, Abstand kommt nur von info-section */
    padding-bottom: 20px;
}

.description-container {
    max-width: 900px;
    padding: 20px;
    text-align: left;
}

.description-container h2 {
margin: 0; /* keine zusätzlichen Lücken */
font-size: 1.5rem;
}

.description-container p {
    margin: 0; /* keine zusätzlichen Lücken */
    font-size: 1.2rem;
}

/* Rahmenbedingungen */
.conditions-section {
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.conditions-container {
    max-width: 900px;
    padding: 20px;
    text-align: left;
}

.conditions-container h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

.conditions-container p {
    font-size: 1.2rem;
}


/* Impressum Basis-Styles */
.impressum-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: var(--stahlblau);
  margin-bottom: 3rem; 
  margin-top: 15rem;
  text-align: center;
}

main {
  max-width: 800px; /* Begrenzte Breite für gute Lesbarkeit */
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

main h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--stahlblau);
}

main a {
  color: var(--tuerkis);
  text-decoration: underline;
  word-break: break-word; /* lange Links umbrechen */
}

main a:hover {
  text-decoration: none;
}

/* ===== Mobile Optimierungen ===== */
@media (max-width: 768px) {
    
    html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden; /* verhindert horizontales Scrollen */
    }

    h1 {
        font-size: 1.7rem; /* ca. 24px */
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem; /* ca. 22px */
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem; /* ca. 21px */
        line-height: 1.3;
    }

    h4 {
        font-size: 1.2rem; /* ca. 18px */
        line-height: 1.3;
    }

    h5 {
        font-size: 1.2rem; /* ca. 16px */
        line-height: 1.3;
    }

    h6 {
        font-size: 1.2rem; /* ca. 14px */
        line-height: 1.3;
    }

    p, li, td {
        font-size: 1.1rem; /* ca. 16px, angenehm lesbar */
        line-height: 1.5;
    }

   .highlight {
        font-size: 1.4rem; /* ca. 16px, angenehm lesbar */
        line-height: 1.5;
        color: var(--terracotta);
    }

  /* Navbar kompakter machen */
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem; /* statt 3rem */
    }

    .logo {
        font-size: 1.5rem;
        margin-bottom: 0; /* kein extra Abstand */
    }

    /* Menü verstecken & als Overlay anzeigen */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;  /* knapp unter Navbar */
        right: 0;
        width: 200px;
        background: var(--stahlblau);
        padding: 1rem;
        gap: 1rem;
        border-radius: 0 0 0 8px;
        z-index: 999;  /* nach vorne holen */
    }

    .nav-links a {
        color: var(--offwhite);
    }

    .nav-links.show {
        display: flex;
    }

    /* Menü-Button sichtbar */
    .menu-toggle {
        display: block;
        cursor: pointer;
        position: relative;
        right: 25px;
        font-size: 2rem;
        transition: color 0.3;
        z-index: 1000; /* sicherstellen, dass Button klickbar bleibt */
    }

    .menu-toggle:hover {
    color: var(--tuerkis); /* Hover-Farbe fürs Burger-Icon */
    }

    /* Hero kürzer machen */

    .hero {
        margin-top: 5rem;
        padding: 0 20px;
    }

    .hero-content {
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
    }

    .hero h1, .hero p {
    overflow-wrap: break-word;
    }

    /* About Section */
.about {
  padding: 0 !important;
  margin: 2rem 0 0 0 !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* verhindert horizontales Scrollen */
  min-width: 0 !important;
}

.about-container {
  display: block !important; /* Flex ausschalten */
  flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  min-width: 0 !important;
}

.about-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  margin: 0;
  box-sizing: border-box;
}

.about-text {
  padding: 0 !important; /* kleiner Innenabstand links/rechts */
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  min-width: 0 !important;

  /* Textfluss-Optimierung */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

    /* Accordion 1 Spalte */
    .accordion-supertitle {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
    }

    .accordion-container {
        grid-template-columns: 1fr;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Offers/Services -> stapeln */
    .services-text {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .offer {
        flex-direction: column;
        align-items: center;
        margin: 2rem auto;
        text-align: center;
    }

    .offer img {
        width: 100%;
        max-width: 350px;
    }

    .offer-text {
    text-align: center !important;
    width: 100%;
    margin: 1rem 0 0 0;
    }

    /* Ausnahme: Absätze im .offer-text-Container zentrieren */
    .offer-text p {
    text-align: center;
    }

    /* ===== Kontaktinformationen ===== */
    .contact-info table {
    width: 100%;
    border-collapse: collapse;
  }

  /* Kopfzeile verstecken */
  .contact-info thead,
  .contact-info tr:first-child {
    display: none;
  }

  /* Jede Datenzelle bekommt ihr Label davor */
  .contact-info td {
    display: flex;
    flex-direction: row;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
  }

  /* erstes Feld (Telefon) */
  .contact-info td:nth-child(1)::before {
    content: "Telefon: ";
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
  }

  /* zweites Feld (Email) */
  .contact-info td:nth-child(2)::before {
    content: "Email: ";
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
  }

  /* drittes Feld (Adresse) */
  .contact-info td:nth-child(3)::before {
    content: "Adresse: ";
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
  }
  
    /* Testimonials */
    .testimonial {
        text-align: center;
    }
    
   /* Titel mobil anpassen */
  .blog-section-title {
    font-size: 2rem;       /* kleiner */
    line-height: 1.2;       
    margin: 6rem 1rem 1rem 1rem;  /* weniger Abstand oben, seitlich etwas Luft */
    text-align: center;      /* optional, mittig */
    word-wrap: break-word;   /* verhindert Überlaufen */
    overflow-wrap: break-word;
  }

  .blog-title {
    font-size: 2rem;       /* kleiner */
    line-height: 1.2;       
    margin: 10rem 1rem 1rem 1rem;  /* weniger Abstand oben, seitlich etwas Luft */
    text-align: center;      /* optional, mittig */
    word-wrap: break-word;   /* verhindert Überlaufen */
    overflow-wrap: break-word;
  }
  /* Blog-Überschrift innerhalb Blog-Seiten */
  .blog h1, 
  .blog-header h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 1rem;
    word-wrap: break-word;
  }

  /* Blog Cards mit Seitenabstand */
  .blog-articles {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem; /* links/rechts Innenabstand */
    box-sizing: border-box;
  }

  .blog-card {
    width: 100%;
    height: auto;
    padding: 1rem;
    box-sizing: border-box;
  }

  .blog-card h2 {
    font-size: 1.1rem;
    height: auto;
    margin-bottom: 0.8rem;
  }

  .blog-card img {
    height: 160px;
  }

  .blog-meta {
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    margin-top: 1rem;
  }

  .blog-meta span {
    font-weight: normal;
  }

  /* ===== Detailseite Angebot ===== */
  .offer-hero {
        margin-top: 5rem;
        padding: 0 20px;
    }
  
    /* ===== Typografie ===== */
    h1, h2, h3, h4, h5, h6 {
    text-align: center;
    }

    p, li, td {
    text-align: left;
    }

  .impressum-title {
    font-size: 1.8rem;
    margin-top: 1.5rem;
  }

  main {
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
  }

  main h4 {
    font-size: 1.1rem;
  }
}
