/* ======================================
   Fira Sans einbinden
====================================== */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap');

/* ======================================
   Basis
====================================== */
:root {
    --color-primary: #e0002a;        /* GTÜ-Rot */
    --color-primary-soft: #ff4b63;
    --color-bg-page: #eef0f5;
    --color-text-main: #222429;
    --color-text-muted: #6b6f7c;
    --color-border-soft: #dde0e9;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 40px rgba(15, 19, 40, 0.16);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Fira Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #f3f4f8;                /* helle Schrift auf dunkel */
    background: #26282e;           /* Anthrazit für die ganze Seite */
    -webkit-font-smoothing: antialiased;
}


/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Überschriften */
h1, h2, h3 {
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 0.4rem 0;
    color: var(--color-text-main);
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ======================================
   Buttons
====================================== */
.button-primary,
.button-link,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        background 0.15s ease-out,
        color 0.15s ease-out;
}

.button-primary,
.button-link {
    background: linear-gradient(135deg, var(--color-primary) 0, var(--color-primary-soft) 100%);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(224, 0, 42, 0.45);
}
.button-primary:hover,
.button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(224, 0, 42, 0.6);
}

.button-secondary {
    background: #ffffff;
    color: var(--color-text-main);
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 10px 24px rgba(11, 15, 35, 0.06);
}
.button-secondary:hover {
    background: #f6f7fb;
}

/* ======================================
   Header – weiß, fix, Shrink beim Scrollen
====================================== */

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  height: 96px;
  padding: 0 1.6rem;

  display: flex;
  align-items: center;

  background: #fff;

  transition:
    height 320ms cubic-bezier(.4,0,.2,1),
    padding 320ms cubic-bezier(.4,0,.2,1),
    box-shadow 320ms cubic-bezier(.4,0,.2,1),
    background-color 320ms cubic-bezier(.4,0,.2,1);
}


.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

/* Logos */
.logo-owner img {
    height: 96px;
    width: auto;
    display: block;
}
.logo-gtue img {
    height: 60px;
    width: auto;
    display: block;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

/* Shrink beim Scrollen – nur Höhe/Logos */
.site-header.header-shrink{
  height: 64px;
  padding: 0 1.2rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.site-header.header-shrink .header-inner {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
.site-header.header-shrink .logo-owner img {
    height: 60px;
}
.site-header.header-shrink .logo-gtue img {
    height: 48px;
}

/* ======================================
   Navigation – Desktop
====================================== */

.main-nav {
    flex: 1;
    margin-left: 2rem;
}
.nav-level-1 {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-item > a {
    position: relative;
    font-size: 1.02rem;
    font-weight: 500;
    color: #333741;
    padding: 0.7rem 0;
    letter-spacing: 0.02em;
    font-family: "Fira Sans", sans-serif;
}

/* Unterstreichung beim Hover */
.nav-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.2rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e0002a, #ff4b63);
    transition: width 0.2s ease-out;
}
.nav-item > a:hover::after {
    width: 100%;
}
.nav-item > a:hover {
    color: #111;
}

/* Dropdown-Kästen unter dem Header */
.nav-item.has-sub {
    position: relative;
}
.nav-level-2 {
    list-style: none;
    margin: 0;
    padding: 1rem 1.1rem;
    position: absolute;
    top: 100%;
    left: 0;

    margin-top: 24px;  /* Abstand zum Header */

    min-width: 260px;

    background: #fff;        /* gleiche Farbe wie Header */

    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;

    box-shadow: 0 12px 28px rgba(10,10,20,0.18);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
    transform: translateY(-4px);
}

/* Unsichtbare Brücke zwischen Menüpunkt und Dropdown */
.nav-item.has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 24px;   /* genau wie margin-top oben */
}

.nav-item.has-sub:hover > .nav-level-2 {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-level-2 li + li {
    margin-top: 0.2rem;
}
.nav-level-2 li a {
    display: block;
    padding: 0.55rem 0.3rem;
    font-size: 0.95rem;
    color: #333741;
    border-radius: 0;
}

.nav-level-2 li a:hover {
    background: #fff;
}



/* Burger / Mobile-Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.9rem;
    cursor: pointer;
    color: #333741;
}

/* ======================================
   Mobile-Navigation
====================================== */

.mobile-nav {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border-soft);
}
.mobile-nav.open {
    display: block;
}

.mobile-nav-level-1,
.mobile-nav-level-2 {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-item {
    border-top: 1px solid #eceef4;
}

.mobile-nav a,
.mobile-sub-toggle {
    display: block;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
    font-family: "Fira Sans", sans-serif;
    color: #262933;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}
.mobile-sub-toggle {
    cursor: pointer;
}
.mobile-nav-level-2 {
    display: none;
    background: #f5f6fb;
}
.mobile-item.open > .mobile-nav-level-2 {
    display: block;
}

/* ======================================
   Hero – Bild bleibt stehen, Textbox + Button zentriert
====================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-start {
    background: url("/assets/img/hero-start.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-oldtimer {
    background: url("/assets/img/hero-oldtimer.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-19-2 {
    background: url("/assets/img/hero-19-2.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-21 {
    background: url("/assets/img/hero-21.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-hu {
    background: url("/assets/img/hero-hu-uma.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-feinstaub {
    background: url("/assets/img/hero-feinstaub.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-aenderung {
    background: url("/assets/img/hero-aenderung.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-gas {
    background: url("/assets/img/hero-gas.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-sp {
    background: url("/assets/img/hero-sp.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-schaden {
    background: url("/assets/img/hero-schaden.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-bewertung {
    background: url("/assets/img/hero-bewertung.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(5, 8, 18, 0.80) 0%,
            rgba(5, 8, 18, 0.55) 45%,
            rgba(5, 8, 18, 0.30) 100%
        );
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.8rem;
}
.hero-textbox {
    max-width: 620px;
    background: rgba(10, 12, 26, 0.75);
    border-radius: 24px;
    padding: 2rem 2.2rem;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}
.hero-textbox h1 {
    color: #ffffff;
}
.hero-textbox p {
    margin-top: 0.4rem;
    margin-bottom: 1.4rem;
    color: #f3f4f8;
}

/* Button in der Box mittig */
.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}

/* ======================================
   Main
====================================== */

.page-main {
    padding: 2.8rem 1.2rem 3rem;
}
.page-section {
    margin-bottom: 2.4rem;
}
.page-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ======================================
   LEISTUNGEN – dunkler Bereich, ohne Kästchen
====================================== */

/* leichter Überlapp-Effekt ins Bild */
.page-section-leistungen {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Überschrift + Einleitungs-Text */
.page-section-leistungen h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.page-section-leistungen .lead {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.4rem;
    color: #d3d5da;
    font-size: 1.03rem;
}

/* Drei Spalten – OHNE Box-Hintergrund */
.page-section-leistungen .columns-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.5rem;              /* mehr Abstand zwischen den Spalten */
    align-items: stretch;
}

/* Jede Leistung: Titel, Text, Link/Buttons */
.page-section-leistungen .columns-3 article {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 0.5rem;
}

.page-section-leistungen .columns-3 article h3 {
    font-size: 1.25rem;       /* etwas größer */
    margin-bottom: 1.1rem;    /* mehr Abstand nach unten */
    color: #ffffff;
}

.page-section-leistungen .columns-3 article p {
    margin: 0;
    color: #d0d2d7;
    font-size: 0.97rem;
    line-height: 1.85;        /* mehr Zeilenabstand */
    margin-bottom: 2.0rem;    /* mehr Luft zum Link */
}

/* Link/Buttons unten überall gleiche Ebene */
.page-section-leistungen .columns-3 article a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
}

/* Falls du .button-link etc. verwendest */
.page-section-leistungen .button-link,
.page-section-leistungen .button-primary,
.page-section-leistungen .button-secondary {
    margin-top: auto;
}

/* ======================================
   Kontakt – Karte
====================================== */

.page-section-kontakt .page-section-inner {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 2.4rem 2.8rem 2.6rem;  /* etwas großzügiger */
}
.page-section-inner-kontakt {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* linke Spalte etwas breiter */
    gap: 2.6rem;                      /* mehr Abstand zwischen Spalten */
}
.page-section-inner-kontakt p {
    color: #4b5466;
    line-height: 1.8;                 /* ruhiger lesbar */
}

/* Kontakt-Formular im Kontakt-Kasten */
.page-section-kontakt .contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.page-section-kontakt .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.page-section-kontakt .contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #222737;
}

.page-section-kontakt .contact-form input,
.page-section-kontakt .contact-form textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.page-section-kontakt .contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.page-section-kontakt .contact-form input:focus,
.page-section-kontakt .contact-form textarea:focus {
    border-color: var(--color-primary-soft);
    box-shadow: 0 0 0 1px rgba(224,0,42,0.16);
}

.page-section-kontakt .button-primary {
    align-self: flex-start;
    margin-top: 0.4rem;
}

/* ======================================
   Footer (Standard-Site-Footer)
====================================== */

.site-footer {
    padding: 2rem 1.2rem 1.6rem;
    background: #cc0025;
    border-top: 0px solid var(--color-border-soft);
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}
.footer-inner a {
    color: #ffffff;
    font-size: 0.85rem;
}
.footer-left {
    font-size: 0.85rem;
    color: #ffffff;
}

/* ======================================
   Responsive
====================================== */

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .page-section-leistungen .columns-3 {
        grid-template-columns: 1fr 1fr;
    }

    .page-section-inner-kontakt {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .header-inner {
        padding-inline: 1rem;
    }

    .logo-owner img {
        height: 56px;
    }
    .site-header.header-shrink .logo-owner img {
        height: 48px;
    }
    .logo-gtue img {
        height: 44px;
    }
    .site-header.header-shrink .logo-gtue img {
        height: 38px;
    }

    .hero {
        min-height: 90vh;
    }
    .hero-inner {
        padding: 0 1.2rem;
    }
    .hero-textbox {
        padding: 1.6rem 1.6rem;
    }

    .page-main {
        padding: 2.2rem 1.2rem 2.6rem;
    }

    .page-section-leistungen {
        margin-top: -10px;
        padding: 3rem 0 3.2rem;
    }

    .page-section-leistungen .columns-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-section-kontakt .page-section-inner {
        padding: 2rem 1.6rem 2.2rem;
    }
    .page-section-inner-kontakt {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/********************************************
 * Überschriften auf Unterseiten lesbar machen
 ********************************************/

/* Standard: alle Überschriften im Inhaltsbereich hell */
.page-main h1,
.page-main h2,
.page-main h3 {
    color: #f3f4f8;
}

/* Bereiche mit weißem Hintergrund – dort dunkel */
.page-section-kontakt h1,
.page-section-kontakt h2,
.page-section-kontakt h3,
.site-footer h1,
.site-footer h2,
.site-footer h3 {
    color: var(--color-text-main);
}

/*******************************************
 * GTÜ-ROTER PREMIUM-FOOTER (optionaler gtue-footer)
 *******************************************/

.gtue-footer {
    background: #cc0025;
    color: #ffffff;
    padding: 3rem 1.7rem 1.4rem;
    margin-top: 1rem;
    border-top: 0px solid #DA1F3D;
    box-shadow: 0 -10px 35px rgba(0,0,0,0.22);
}

.gtue-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
}

.gtue-footer-col h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-transform: none;
}

.gtue-footer-col p,
.gtue-footer-col a {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #ffffffc9;
}

.gtue-footer-col a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.gtue-footer-logo img {
    width: 120px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s;
}
.gtue-footer-logo img:hover {
    opacity: 1;
}

.gtue-footer-bottom {
    text-align: center;
    margin-top: 2.2rem;
    padding-top: 1.4rem;
    border-top: 0px solid rgba(255,255,255,0.35);
    font-size: 0.9rem;
    color: #ffffffb8;
}

@media (max-width: 900px) {
    .gtue-footer-inner {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .gtue-footer-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .gtue-footer-logo {
        margin-top: 0.8rem;
    }
}
/********************************************
 * LEISTUNGEN – Flip-Cards
 ********************************************/

.page-section-leistungen .columns-3 {
    align-items: stretch;
}

.page-section-leistungen .columns-3 .flip-card {
    display: block;
    padding: 0;
    perspective: 1200px;
    min-height: 260px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

/* nur auf Desktop beim Hover drehen */
@media (hover: hover) and (pointer: fine) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.flip-card-face {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(8, 13, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    backface-visibility: hidden;
}

.flip-card-front {
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(8, 13, 28, 0.98) 55%,
        rgba(3, 5, 15, 1) 100%);
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card-face h3 {
    font-size: 1.2rem;
    margin: 0 0 0.8rem;
    color: #ffffff;
}

.flip-card-face p {
    margin: 0 0 1.3rem;
    color: #d0d2d7;
    font-size: 0.95rem;
    line-height: 1.7;
}

.flip-card-more {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ff4666;
}

.flip-card-back .button-link,
.flip-card-back .button-primary,
.flip-card-back .button-secondary {
    margin-top: auto;
}

@media (max-width: 768px) {
    .page-section-leistungen .columns-3 .flip-card {
        min-height: 220px;
    }
}
/********************************************
 * FIX: Mehr Abstand unter den 3 Leistungskästen
 ********************************************/

/* Abstand NACH dem Leistungsbereich stark vergrößern */
.page-section-leistungen {
    padding-bottom: 6rem !important;  /* vorher zu klein */
    margin-bottom: 4rem !important;   /* zusätzlich Platz */
}

/* Jede Flip-Card höher machen, damit Rückseite nicht in Kontakt rutscht */
.page-section-leistungen .flip-card {
    min-height: 480px !important;     /* vorher zu niedrig */
}

/* Falls die Rückseite sehr viel Text hat → noch mehr Höhe */
.page-section-leistungen .flip-card-inner {
    min-height: 380px !important;
}
/********************************************
 * Flip-Cards – Vorderseite in GTÜ-Rot
 ********************************************/

/* Vorderseite: GTÜ-Rot, heller Verlauf, moderner Look */
.page-section-leistungen .flip-card-front {
    background: linear-gradient(
        to bottom right,
        #e0002a 0%,      /* GTÜ-Rot */
        #ff4c66 70%,
        #ff7589 100%
    ) !important;
    border-top: 4px solid #b60022 !important;
    color: #ffffff !important;
}

/* Text auf der Vorderseite weiß */
.page-section-leistungen .flip-card-front h3,
.page-section-leistungen .flip-card-front p,
.page-section-leistungen .flip-card-front span {
    color: #ffffff !important;
}

/* Schatten etwas weicher, damit Rot nicht zu schwer wirkt */
.page-section-leistungen .flip-card-front {
    box-shadow: 0 12px 28px rgba(224, 0, 42, 0.35) !important;
}

/********************************************
 * FLIP-CARDS – Rote Vorderseite + ICONS
 ********************************************/

/* Rote Vorderseite */
.page-section-leistungen .flip-card-front {
    background: linear-gradient(
        145deg,
        #e0002a 0%,
        #cc0025 100%
    ) !important;
    border: none !important;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2.4rem;
}

/* Icon-Bereich */
.flip-icon img {
    width: 75px;
    height: 75px;
    filter: brightness(0) invert(1);  /* weiß machen */
    opacity: 0.92;
    margin-bottom: 1.3rem;
}

/* Überschrift */
.page-section-leistungen .flip-card-front h3 {
    font-size: 1.45rem;
    margin: 0 0 0.8rem 0;
    color: #ffffff !important;
    font-weight: 600;
}

/* kurzer Text auf Vorderseite */
.page-section-leistungen .flip-card-front p {
    color: #ffffff !important;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 90%;
    margin: 0 auto 1.4rem auto;
}

/* Schatten für 3D-Effekt */
.page-section-leistungen .flip-card-front {
    box-shadow: 0 18px 35px rgba(224, 0, 42, 0.35);
}


/********************************************
 * Flip-Cards – kleinere Überschriften + Icons links
 ********************************************/

/* ICONS linksbündig */
.flip-card-front .flip-icon {
    width: 100%;
    display: flex;
    justify-content: flex-start;  /* Icon nach links */
    margin-bottom: 1.2rem;
}

.flip-card-front .flip-icon img {
    width: 74px !important;    /* etwas kleiner */
    height: 74px !important;
    margin: 0;
}

/* ÜBERSCHRIFT etwas kleiner, besser passend */
.page-section-leistungen .flip-card-front h3 {
    font-size: 1.10rem !important;  /* vorher ~1.45rem */
    margin-bottom: 0.6rem !important;
    text-align: left !important;    /* links statt mittig */
    line-height: 1.2;
}
/* ÜBERSCHRIFT etwas kleiner, besser passend */
.page-section-leistungen .flip-card-back h3 {
    font-size: 1.0rem !important;  /* vorher ~1.45rem */
    margin-bottom: 0.6rem !important;
    text-align: left !important;    /* links statt mittig */
    line-height: 1.2;
}

/* TEXT unter der Überschrift */
.page-section-leistungen .flip-card-front p {
    text-align: left !important;    /* links statt mittig */
    margin-left: 0;
    margin-right: 0;
    font-size: 0.95rem !important;
    line-height: 1.55;
    max-width: 100%;
}
/* TEXT unter der Überschrift */
.page-section-leistungen .flip-card-back p {
    text-align: left !important;    /* links statt mittig */
    margin-left: 0;
    margin-right: 0;
    font-size: 0.95rem !important;
    line-height: 1.55;
    max-width: 100%;
}
/********************************************
 * RSS / News unter dem Kontakt
 ********************************************/

.page-section-rss .page-section-inner {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 2.2rem 2.4rem 2.4rem;
    margin-top: 2rem;
}

.page-section-rss h2 {
    margin-bottom: 1.2rem;
}

.rss-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rss-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 0.9rem;
}

.rss-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rss-item-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.rss-item-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #e0002a;
    text-decoration: none;
}

.rss-item-title:hover {
    text-decoration: underline;
}

.rss-item-desc {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Mobil: etwas enger */
@media (max-width: 768px) {
    .page-section-rss .page-section-inner {
        padding: 1.8rem 1.6rem 2rem;
    }
}
/* ======================================
   GTÜ-Blog RSS-Bereich mit Bildern
====================================== */

.page-section-blogfeed {
    margin-top: 2.5rem;
}

.page-section-blogfeed .rss-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.page-section-blogfeed .rss-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 0 0 1.4rem 0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    border: 1px solid #e2e5f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Bild oben */
.rss-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f3f7;
}

.rss-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Textbereich */
.page-section-blogfeed .rss-item h3 {
    font-size: 1rem;
    margin: 0.9rem 1.2rem 0.2rem;
}

.page-section-blogfeed .rss-item h3 a {
    color: #111;
    text-decoration: none;
}

.page-section-blogfeed .rss-item h3 a:hover {
    color: #e0002a;
    text-decoration: underline;
}

.page-section-blogfeed .rss-date {
    font-size: 0.85rem;
    color: #7a7f8c;
    margin: 0 1.2rem 0.5rem;
}

.page-section-blogfeed .rss-item p {
    font-size: 0.9rem;
    color: #4b5466;
    line-height: 1.5;
    margin: 0 1.2rem 0.4rem;
}

/* Ganze Karte klickfreundlich, aber nicht zu groß */
.page-section-blogfeed .rss-item a {
    cursor: pointer;
}

/* Mobil: untereinander */
@media (max-width: 900px) {
    .page-section-blogfeed .rss-list {
        grid-template-columns: 1fr;
    }
}
/* ======================================
   MOBILE: Tap-to-Flip & bessere Abstände
====================================== */

/* 1) Grund: Hover-Effekt nur auf Geräten mit Maus (bereits in CSS),
   jetzt sicherstellen, dass bei Touch kein hover-transform greift. */
@media (hover: none) and (pointer: coarse) {
    /* Deaktiviere Hover-Flip (falls noch aktiv) */
    .flip-card .flip-card-inner {
        /* kein hover-based transform mehr */
        transition: transform 0.45s ease;
    }
    .flip-card:hover .flip-card-inner {
        transform: none !important;
    }
}

/* 2) Mehr Abstand unten im Leistungsbereich (wichtig, damit Rückseite nicht in Kontakt ragt) */
@media (max-width: 900px) {
    .page-section-leistungen {
        padding-bottom: 5.5rem !important;
        margin-bottom: 3.5rem !important;
    }

    /* Karten: 1-spaltig, größer, mehr Padding */
    .page-section-leistungen .columns-3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .page-section-leistungen .flip-card {
        min-height: auto !important;
        height: auto;
        perspective: none; /* kein 3D-Effekt nötig */
    }

    .flip-card-inner {
        position: relative;
        transform: none !important; /* start neutral */
    }

    /* Vorder- und Rückseite werden untereinander angezeigt, bei .is-flipped wird Rückseite sichtbar */
    .flip-card-face {
        position: relative;
        inset: auto;
        border-radius: 14px;
        padding: 1.4rem;
        backface-visibility: visible;
        transform: none !important;
        box-shadow: 0 10px 22px rgba(10,14,30,0.06);
        transition: none;
    }

    /* Standard: nur die Vorderseite anzeigen (Rückseite verstecken) */
    .flip-card .flip-card-back {
        display: none;
    }

    /* Wenn Karte aktiv (auf Tap) -> zeige Rückseite unterhalb der Vorderseite */
    .flip-card.is-flipped .flip-card-back {
        display: block;
        margin-top: 0.9rem;
    }

    /* kleine Anpassung: Vorderseite als "Kachel" mit Hinweis zum Tippen */
    .page-section-leistungen .flip-card-front {
        cursor: pointer;
    }

    /* Icon/texte align */
    .page-section-leistungen .flip-card-front {
        align-items: flex-start;
        text-align: left;
    }

    .flip-card-more {
        display: inline-block;
        margin-top: 0.6rem;
        color: #e0002a;
        font-weight: 600;
    }
}

/* =========================
   MOBILE NAV – geschlossen per default
========================= */

.mobile-nav { display: none; }          /* Desktop: aus */

@media (max-width: 980px){

  /* Desktop-Menü aus */
  .main-nav{ display:none !important; }

  /* Burger sichtbar */
  .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    padding: .4rem .6rem;
    cursor: pointer;
  }

  /* Mobile-Menü: standardmäßig NICHT sichtbar */
  .mobile-nav{
    display: none;                 /* <- das ist der entscheidende Punkt */
    position: fixed;
    left: 0;
    right: 0;
    top: 96px;                     /* Header Normalhöhe */
    z-index: 999;

    background: #fff;
    border-top: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
  }

  /* wenn Header schrumpft, Menü höher ansetzen */
  .site-header.header-shrink + .mobile-nav{
    top: 64px;                     /* Header Shrink-Höhe */
  }

  /* NUR im OPEN-Zustand sichtbar */
  .mobile-nav.open{
    display: block;
  }

  /* Inhalte */
  .mobile-nav ul{
    list-style: none;
    margin: 0;
    padding: .75rem 1rem 1rem;
  }

  .mobile-nav a,
  .mobile-nav button.mobile-sub-toggle{
    display: block;
    width: 100%;
    text-align: left;
    padding: .85rem .2rem;
    border: 0;
    background: transparent;
    font-weight: 700;
    color: #111;
    cursor: pointer;
  }

  .mobile-nav a{ text-decoration: none; }

  /* Submenüs: standard zu */
  .mobile-item ul.mobile-nav-level-2{
    display: none;
    padding-left: .6rem;
    margin-top: .2rem;
    border-left: 2px solid rgba(224,0,42,.25);
  }
  .mobile-item.open ul.mobile-nav-level-2{
    display: block;
  }

  .mobile-nav-level-2 a{
    font-weight: 600;
    color: rgba(0,0,0,.78);
    padding: .65rem .2rem;
  }
}
.contact-modern {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.contact-modern h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-intro {
  color: #555;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 16px;
}

.contact-info a {
  color: #b30000; /* Rosskopf-Rot */
  text-decoration: none;
}

.contact-note {
  color: #777;
  font-size: 0.9rem;
}

/* Formular – ohne Kästen */
.contact-form label {
  display: block;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 8px 0;
  font-size: 1rem;
  background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #b30000;
}

.contact-form button {
  margin-top: 10px;
  background: #b30000;
  color: #fff;
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background: #8f0000;
}

/* WhatsApp Zusatz */
.contact-whatsapp {
  margin-top: 40px;
}

.whatsapp-button {
  display: inline-block;
  margin-top: 10px;
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-whatsapp small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ======================================
   Kontakt – Nicepage-Layout in Rosskopf-Farben
   (links dunkel, Akzentband, rechts Formular)
====================================== */

.contact-modern{
  max-width: 1100px;
  margin: 3.6rem auto;
  padding: 0 20px;
}

.contact-modern h2,
.contact-modern .contact-intro{
  display: none; /* obere Überschrift bleibt auf Ihrer Seite erhalten; hier nur der Block */
}

.contact-modern .contact-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* Akzentband zwischen den Spalten */
.contact-modern .contact-grid::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 42px);
  width: 84px;
  background: var(--color-primary);
  opacity: 0.95;
}

/* Linke Seite: dunkle Infospalte */
.contact-modern .contact-info{
  position: relative;
  z-index: 1;
  background: #0f1115; /* anthrazit statt schwarz */
  color: rgba(255,255,255,0.92);
  padding: 3.0rem 2.6rem;
}

.contact-modern .contact-info h3{
  color: #fff;
  margin: 0 0 1.4rem;
  letter-spacing: 0.5px;
}

.contact-modern .contact-info p{
  margin: 0 0 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}

.contact-modern .contact-info strong{
  color: rgba(255,255,255,0.95);
}

.contact-modern .contact-info a{
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.contact-modern .contact-info a:hover{
  border-bottom-color: rgba(255,255,255,0.7);
}

.contact-modern .contact-note{
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
}

/* Rechte Seite: Formularfläche */
.contact-modern .contact-form{
  position: relative;
  z-index: 1;
  background: #f5f6f8;
  padding: 0;
}

/* Schwarzer Kopfstreifen wie Vorlage */
.contact-modern .contact-form-head{
  background: #0f1115;
  color: #fff;
  padding: 1.4rem 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 1.05rem;
}

/* Formular – klare Felder ohne Box-Optik */
.contact-modern .contact-form form{
  padding: 2.2rem 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.contact-modern .contact-form label{
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b1f2a;
}

.contact-modern .contact-form input,
.contact-modern .contact-form textarea{
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #d7dbe5;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #111318;
  outline: none;
}

.contact-modern .contact-form textarea{
  min-height: 150px;
  resize: vertical;
}

.contact-modern .contact-form input:focus,
.contact-modern .contact-form textarea:focus{
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(224, 0, 42, 0.16);
}

/* Button: Rosskopf-Rot, klar, technisch */
.contact-modern .contact-form button{
  align-self: flex-start;
  margin-top: 0.4rem;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  color: #fff;
  background: var(--color-primary);
  transition: transform 0.12s ease-out, filter 0.12s ease-out;
}
.contact-modern .contact-form button:hover{
  transform: translateY(-1px);
  filter: brightness(0.95);
}

/* WhatsApp Zusatz unten (dezent) */
.contact-modern .contact-whatsapp{
  padding: 1.2rem 2.2rem 2.2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.contact-modern .contact-whatsapp p{
  margin: 0 0 0.65rem;
  color: #2a2f3b;
}

.contact-modern .contact-whatsapp small{
  display: block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: #6a7283;
}

.contact-modern .whatsapp-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
}
.contact-modern .whatsapp-button:hover{
  filter: brightness(0.96);
}

/* Responsive: Band weg + Stapeln */
@media (max-width: 900px){
}
/* ======================================
   Kontakt – Nicepage-Design KOMPAKT + Streifen integriert
   (nur 1 Block, keine Kollisionen)
====================================== */

.contact-modern{
  max-width: 1100px;
  margin: 2.2rem auto;
  padding: 0 20px;
}

/* Wenn die Überschrift bereits oberhalb auf der Seite existiert: ausblenden */
.contact-modern h2,
.contact-modern .contact-intro{
  display: none;
}

.contact-modern .contact-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  border-radius: 18px;              /* weniger "Klotz" */
  box-shadow: var(--shadow-soft);
}

/* WICHTIG: kein Band zwischen den Spalten */
.contact-modern .contact-grid::before{
  display: none !important;
}

/* Linke Seite (kompakter) */
.contact-modern .contact-info{
  background: #0f1115;
  color: rgba(255,255,255,0.92);
  padding: 2.0rem 1.9rem;           /* kompakter */
}

.contact-modern .contact-info h3{
  color: #fff;
  margin: 0 0 1.0rem;
  letter-spacing: 0.5px;
}

.contact-modern .contact-info p{
  margin: 0 0 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

.contact-modern .contact-info strong{
  color: rgba(255,255,255,0.95);
}

.contact-modern .contact-info a{
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.contact-modern .contact-info a:hover{
  border-bottom-color: rgba(255,255,255,0.7);
}

.contact-modern .contact-note{
  margin-top: 1.1rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
}

/* Rechte Seite: Formularfläche (Streifen INTEGRIERT) */
.contact-modern .contact-form{
  position: relative;
  background: #f5f6f8;
  padding-left: 14px;               /* Platz für Streifen */
}

/* Roter Streifen links IN der Formularbox */
.contact-modern .contact-form::before{
  content: "";
  position: absolute;
  left: 0;
  top: 16px;                        /* eingerückt -> wirkt hochwertiger */
  bottom: 16px;                     /* eingerückt -> nicht erdrückend */
  width: 8px;                       /* schlanker */
  background: var(--color-primary);
  border-radius: 8px;
  opacity: 0.95;
}

/* Kopfbereich etwas niedriger */
.contact-modern .contact-form-head{
  background: #0f1115;
  color: #fff;
  padding: 0.95rem 1.5rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  font-size: 0.98rem;
}

/* Formular kompakter */
.contact-modern .contact-form form{
  padding: 1.35rem 1.5rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-modern .contact-form label{
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b1f2a;
}

.contact-modern .contact-form input,
.contact-modern .contact-form textarea{
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #d7dbe5;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #111318;
  outline: none;
}

.contact-modern .contact-form textarea{
  min-height: 130px;                /* weniger Höhe -> weniger "wuchtig" */
  resize: vertical;
}

.contact-modern .contact-form input:focus,
.contact-modern .contact-form textarea:focus{
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(224, 0, 42, 0.14);
}

/* Button etwas kompakter */
.contact-modern .contact-form button{
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.75rem 1.45rem;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  color: #fff;
  background: var(--color-primary);
  transition: transform 0.12s ease-out, filter 0.12s ease-out;
}
.contact-modern .contact-form button:hover{
  transform: translateY(-1px);
  filter: brightness(0.95);
}

/* WhatsApp Zusatz (kompakter) */
.contact-modern .contact-whatsapp{
  padding: 0.85rem 1.5rem 1.35rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.contact-modern .contact-whatsapp p{
  margin: 0 0 0.55rem;
  color: #2a2f3b;
}

.contact-modern .contact-whatsapp small{
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #6a7283;
}

.contact-modern .whatsapp-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.05rem;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
}
.contact-modern .whatsapp-button:hover{
  filter: brightness(0.96);
}

/* Responsive */
  .contact-modern .contact-grid{
    grid-template-columns: 1fr;
  }
  .contact-modern .contact-form{
    padding-left: 0;
  }
  .contact-modern .contact-form::before{
    display: none;
  }

}
/* Kontakt Formular – Styling */
.page-section-kontakt .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.page-section-kontakt .contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Formular Labels */
.page-section-kontakt .contact-form label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
}

/* Eingabefelder (Text und E-Mail) */
.page-section-kontakt .contact-form input,
.page-section-kontakt .contact-form textarea {
    font-size: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-soft);
    background: #ffffff;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

/* Fokus-Effekt der Eingabefelder */
.page-section-kontakt .contact-form input:focus,
.page-section-kontakt .contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(224, 0, 42, 0.16);
}

/* Textarea Styling */
.page-section-kontakt .contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Absenden Button */
.page-section-kontakt .contact-form .button-primary {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Button Hover-Effekt */
.page-section-kontakt .contact-form .button-primary:hover {
    background: var(--color-primary-soft);
}
/* =====================================================
   csskontakt.css – Kontaktformular IB-Roßkopf
   Fix: Echter Mittelstreifen als eigenes Element
===================================================== */

:root {
  --primary: #cc0025;  /* Roter Farbton */
  --primary-soft: #ff4b63;  /* Hellerer Rotton */

  --bg-page: #26282e;  /* Dunkler Hintergrund */
  --panel-dark: #0f1115;  /* Dunkler Bereich für Info */
  --panel-light: #f5f6f8;  /* Hellere Farbe für das Formular */

  --text-dark: #111318;
  --text-muted: rgba(255, 255, 255, 0.78);

  --radius-xl: 22px;  /* Abgerundete Ecken */
  --shadow: 0 18px 40px rgba(15, 19, 40, .22);  /* Weicher Schatten */
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Fira Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg-page);
  color: #f3f4f8;
  -webkit-font-smoothing: antialiased;
}

/* Page */
.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.2rem;
}

.contact-wrap {
  width: min(1100px, 100%);
}

/* =====================================================
   Grid: links | Divider | rechts
===================================================== */

.container {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  background: #fff;
  position: relative;
}

/* Echter Mittelstreifen */
.container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 10px; /* Breite des roten Streifens */
  background: var(--primary);
}

/* =====================================================
   Left Column (Info Section)
===================================================== */

.left {
  width: 50%;
  padding: 40px;
  background: var(--panel-dark);
  color: #fff;
  z-index: 1;
}

.left h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.left p {
  font-size: 1rem;
  line-height: 1.6;
}

/* =====================================================
   Right Column (Formular)
===================================================== */

.right {
  width: 50%;
  padding: 40px;
  z-index: 1;
}

.right h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

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

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

form button {
  padding: 12px 25px;
  background: #e0002a;
  color: #fff;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #ff4b63;
}

   <!-- Inline-CSS direkt im Dokument -->
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background: #f2f2f2;
        }

        .container {
            width: 900px;
            margin: 0px auto 40px;
background: transparent;  
            display: flex;
            position: relative;
    box-shadow: none;      /* Schatten weg */
    border: none;    
        }

        /* Roter STREIFEN - Breiter machen */
        .container::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 200px;  /* Breite des roten Balkens */
            background: #cc0025;
            index: 1;
        }

        .left {
            width: 50%;
            padding: 40px;
            background: #26282e;              
            color: #fff;
            position: relative;
            z-index: 0;
        }

        .left h2, .left p {
            color: #fff;  /* Textfarbe auf der linken Seite anpassen */
        }

        .right {
            width: 50%;
            padding: 40px;                       
            position: relative;
            z-index: 1;
        }
.right h2 {
    color: #ffffff;
}

        input, textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
        }

        button {
            padding: 12px 25px;
            background: #000;
            color: #fff;
            border: none;
            cursor: pointer;
        }

        button:hover {
            background: #333;
        }

        /* Bestätigungsnachricht */
        .confirmation-message {
            background-color: #4CAF50;
            color: white;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
            text-align: center;
            display: none; /* Wird erst angezeigt, wenn das Formular erfolgreich abgeschickt wurde */
        }

/* ======================================
   Allgemeine CSS-Regeln
====================================== */

/* Social Media Symbole */
.social-icons {
    display: flex;
    gap: 1rem;  /* Abstand zwischen den Symbolen */
    justify-content: start;  /* Symbole am Anfang ausrichten */
}

.social-icons a {
    text-decoration: none;
    color: #fff;
    font-size: 2rem;  /* Symbole kleiner machen, um sie besser anzupassen */
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-primary);  /* Hover-Farbe für die Symbole */
}

/* Optional: Hier könntest du auch eine Maximalgröße hinzufügen */
.social-icons i {
    display: inline-block;
    width: 24px;  /* Maximale Breite für Symbole */
    height: 24px;  /* Maximale Höhe für Symbole */
}


/* ============================
   Kontaktseite: Abstand vor Footer entfernen
============================ */

.page-kontakt .container {
    margin-bottom: 0;           /* kein Abstand mehr unter dem Formular-Block */
}

/* GTÜ-Footer auf der Kontaktseite direkt an das Formular anschließen */
.page-kontakt .gtue-footer,
.page-kontakt .site-footer {
    margin-top: 0;
}

/* ======================================
   WhatsApp CTA (Kontaktseite)
====================================== */

.whatsapp-cta {
    margin-top: 1.6rem;
    padding-top: 0rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 0.9rem;
    color: #4b5466;
}

.whatsapp-cta p {
    margin: 0 0 0.6rem;
}

.whatsapp-cta small {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #7a7f8c;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    background: #25d366; /* WhatsApp-Grün */
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition:
        transform 0.12s ease-out,
        box-shadow 0.12s ease-out,
        filter 0.12s ease-out;
}

.whatsapp-button:hover {
    transform: translateY(-1px);
    filter: brightness(0.95);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* ======================================
   WhatsApp DSGVO Modal
====================================== */

.whatsapp-modal-backdrop {
    position: fixed;
    inset: 0;
    display: none; /* JS setzt auf flex */
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    padding: 1.5rem;
}

.whatsapp-modal {
    max-width: 520px;
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,19,40,0.55);
    padding: 1.8rem 2rem 1.6rem;
}

.whatsapp-modal h3 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
    color: #11141c;
}

.whatsapp-modal p {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5466;
}

.whatsapp-modal small {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #7a7f8c;
}

.whatsapp-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.whatsapp-modal-cancel,
.whatsapp-modal-confirm {
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.whatsapp-modal-cancel {
    background: #f3f4f8;
    color: #222429;
}

.whatsapp-modal-cancel:hover {
    background: #e4e6f0;
}

.whatsapp-modal-confirm {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37,211,102,0.4);
}

.whatsapp-modal-confirm:hover {
    box-shadow: 0 14px 32px rgba(37,211,102,0.5);
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-modal {
        padding: 1.4rem 1.4rem 1.3rem;
    }
}
/* Feintuning WhatsApp-CTA auf der Kontaktseite */
.page-kontakt .whatsapp-cta p,
.page-kontakt .whatsapp-cta small {
    color: rgba(243, 244, 248, 0.9);  /* leicht abgedunkeltes Weiß */
}
/* Kontaktseite: Farbe für H3 im linken Block */
.page-kontakt .left h3 {
    color: #f3f4f8;   /* oder jede gewünschte Farbe, z.B. #ffffff */
}
/* ======================================
   KONTAKTSEITE – MOBILE & TABLET LAYOUT
   (Container .left / .right untereinander)
====================================== */

@media (max-width: 900px) {

  /* Haupt-Container: volle Breite, Spalten untereinander */
  .page-kontakt .container {
    width: 100%;
    max-width: 100%;
    margin: 16px auto 32px;     /* etwas Luft oben/unten */
    padding: 0 16px;            /* Seitenabstand auf Handy/Tablet */
    display: flex;
    flex-direction: column;     /* WICHTIG: statt nebeneinander jetzt untereinander */
  }

  /* Linke und rechte Spalte jeweils 100 % Breite */
  .page-kontakt .left,
  .page-kontakt .right {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
  }

  /* Optional: roten Mittelstreifen auf kleinen Screens ausblenden,
     sonst wirkt er gequetscht */
  .page-kontakt .container::before {
    display: none;
  }
}
/* ================================
   Radios nur auf dieser Seite fixen
   (Punkt direkt vor dem Text)
================================ */

body.aenderungscheck-page .ib-card label.ib-radio {
    display: block;              /* Standard-Block-Label */
    padding-left: 0 !important;  /* evtl. alte Einrückung löschen */
}

/* Native Radio-Bubbles wieder normal in den Textfluss holen */
body.aenderungscheck-page .ib-card label.ib-radio input[type="radio"] {
    position: static !important;      /* NICHT mehr absolut positioniert */
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 0.4rem 0 0 !important;  /* kleiner Abstand vor dem Text */
    vertical-align: middle;           /* schön in der Textzeile sitzen */
}
.pdf-inline{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Kein overflow:auto -> dadurch gibt es keinen inneren Scrollbereich */
.pdf-pages{
  width: 100%;
}

.pdf-page{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 16px auto;
  background: #fff;
  border-radius: 8px;
}

