/* ========================================== */
/* 1. BASE & RESET */
/* ========================================== */

sup {
    color: red;
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-accord-line: #F0EAE1;
    --color-dark-purple: #2B163C;
    --color-gold: #c5a059;
    --color-dark-gold: #7a550d;
    --color-gold-hover: #e0b86c;
    --color-bg-light: #f7f4ee;
    --color-bg-card: #ece6da;
    --color-text-dark: #2c2c2c;
    --color-text-muted: #555555;
    --color-white: #ffffff;
    --color-creme: #f9f4ed;
    --color-lilac: #F0EBF0;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-text: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Verhindert, dass der fixierte Header den Anker-Bereich verdeckt */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Höhe deiner fixierten Navigation + etwas Puffer */
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    font: 16px / 1.65 system-ui, -apple-system, Segoe UI, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================== */
/* 2. BUTTONS & HEADERS */
/* ========================================== */

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-hero {
    margin-left: 200px;
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-purple);
}

.btn-outline-dark {
    border-color: var(--color-gold);
    color: #8c6a27;
    background: rgba(255, 255, 255, 0.4);
}

.btn-outline-dark:hover {
    background-color: var(--color-gold);
    color: #ffffff;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 50px;

    gap: 40px;

    width: 100%;
}

.section-header .line {
    height: 1px;
    width: 100px;
    background-color: var(--color-gold);
}

.section-header h2 {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-dark-purple);
    font-weight: 500;
}

.services-section-wir {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 50px;

    gap: 40px;

    width: 100%;
}

.services-section-wir .inner {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.services-section-wir .inner .grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px
}

.services-section-wir .inner  .tile {
    background: white;
    min-height: 145px;
    padding: 26px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 9px;
    gap: 13px;
    color: var(--plum);
    font-weight: 600;
    line-height: 1.35;
    font-size: 14px
}

.services-section-wir .inner .symbol {
    font-size: 28px;
    color: var(--color-dark-gold);
    font-weight: normal;
}

.services-section-wir .inner .eyebrow {
    font-family: var(--font-text);
    font-size: 1em;
    font-weight: 400;
    color: var(--color-dark-gold);
    text-transform: uppercase;
    margin-bottom: -20px;
}

.services-section-wir .inner h2 {
    font-family: var(--font-serif);
    font-size: 2.5em;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 20px;
}

.services-section-wir .inner p {
    font-family: var(--font-text);
    padding-bottom: 20px;
}

/* ========================================== */
/* 3. NAVIGATION / BACK TO TOP */
/* ========================================== */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    padding: 25px 60px;
    background: transparent;

    /* mix-blend-mode: difference; */
}

.navbar.navbar-scrolled {
    width: auto;
    background-color: var(--color-dark-purple); /* Dunkler Hintergrund */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom-left-radius: 25px;
    padding: 15px 60px; /* Macht die Leiste beim Scrollen leicht kompakter */
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    padding-bottom: 10px;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 75px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--color-dunkelviolett, #1B122C);
    color: var(--color-gold, #C5A059);
    border: 1px solid var(--color-gold, #C5A059);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;

    /* Sanfter Übergang beim Ein-/Ausblenden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Hover-Effekt */
.back-to-top:hover {
    background-color: var(--color-gold, #C5A059);
    color: var(--color-dunkelviolett, #1B122C);
    transform: translateY(-3px);
}

/* Sichtbarer Zustand ab 1000px Scroll-Höhe */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ========================================== */
/* 4. HERO SECTION & LOGO (MITSCROLLEND) */
/* ========================================== */

.hero-section {
    background: linear-gradient(135deg, rgb(27, 18, 44) 25%, rgba(27, 18, 44, 0.8) 50%, rgba(27, 18, 44, 0.4) 100%),
                url('/assets/bilder/hg_01.png') center/cover no-repeat;
    color: var(--color-creme);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding-top: 25px; /* Von 100px auf 25px verringert, damit das Logo ganz nach oben rückt */

}

.hero-content {
    padding: 25px 60px 60px;
    max-width: 1000px;
    margin-bottom: 60px;
}

/* Eigener Container für Logo und IT-ZALUD Titel */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.logo-symbol {
    width: 250px;
    height: auto;
}

.logo-symbol img {
    width: 200%;
    height: auto;
    display: block;
    object-fit: contain;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    font-weight: 600;
    line-height: 1;

    /* OPTIONEN ZUM VERSCHIEBEN: */
    margin-top: -90px;     /* Schiebt den Text näher an das Logo heran */
    margin-bottom: 10px;  /* Verändert den Abstand nach unten zur H2-Überschrift */
    margin-left: 300px;     /* Schiebt den Text leicht nach rechts */
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 15px;
    margin-left: 200px;
}

.hero-subtitle {

    display: inline-block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2rem;
    font-weight: 600;

    color: var(--color-gold);

    margin-bottom: 30px;
    margin-left: 200px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: 200px;
}

/* ========================================== */
/* 5. SERVICES SECTION */
/* ========================================== */

.services-section {
    padding: 80px 20px;
    /* background-color: #999999; */
    background-color: var(--color-creme);
}

.section-main {
    max-width: 750px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
}

.section-main h2 {
    font-family: var(--font-serif);
    font-size: 3em;
}

.section-main p {
    font-family: var(--font-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-service-card {
    position: relative;
    text-align: center;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2c2c2c;
    border-radius: 25px;
    overflow: hidden;
}

.sub-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Liegt unten */
    opacity: .1; /* Transparent (0.15 = 15% Sichtbarkeit, beliebig anpassbar) */
    pointer-events: none; /* Klicks gehen durch das Bild hindurch */
}

.sub-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Streckt/skaliert das Bild sauber über die gesamte Card */
}

.sub-service-content {
    position: relative;
    z-index: 2; /* Liegt über dem Hintergrundbild */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-dark-purple);
    font-size: 2rem;
}

.sub-icon-circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-dark-purple);
    font-size: 2rem;
    border: 5px solid var(--color-gold);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-dark-purple);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 600;
}

.sub-service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-creme);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.link-more {
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 2px;
}

.link-more:hover {
    color: var(--color-dark-purple);
    border-color: var(--color-dark-purple);
}

.sub-service-content .link-more {
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 2px;
}

.sub-service-content .link-more:hover {
    color: var(--color-creme);
    border-color: var(--color-creme);
}

/* ========================================== */
/* 6. ABOUT / APPROACH SECTION */
/* ========================================== */

.about-section {
    background-color: var(--color-dark-purple);
    color: var(--color-white);
    display: flex;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 400px;
    min-height: 450px;
    /* Bild + Verlaufsmaske nach rechts zur Hintergrundfarbe #1b122c */
    background: linear-gradient(to right, transparent 50%, var(--color-dark-purple) 100%),
                url('/assets/bilder/hg_02.png') center/cover no-repeat;
}

.about-content {
    flex: 1;
    min-width: 400px;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-items: flex-start;

    /* background-color: red; */
}

.about-content h2 {
    width: 100%;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;

    width: 100%;
    max-width: 420px;
}

.about-header .line {
    height: 1px;
    flex: 1;
    background-color: var(--color-gold);
}

.about-header span {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);

    white-space: nowrap;
}

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

/* ========================================== */
/* CTA SECTION WITH BACKGROUND WAVES */
/* ========================================== */

.cta-section {
    position: relative;
    /* background-color: #2c2c2c; */
    background-color: var(--color-cream);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Verhindert, dass die Wellen über die Sektion hinausstehen */
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.cta-content {
    position: relative;
    z-index: 2; /* Liegt über den Wellenlinien */
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-dark);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

/* Der graue/goldene Rahmen-Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    background-color: transparent;
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--color-gold);
    color: #ffffff;
    transform: translateY(-2px);
}

/* DEKORATION (SVG WELLEN) */
.cta-waves {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%; /* Nimmt die rechte Hälfte ein */
    max-width: 600px;
    height: 100%;
    pointer-events: none; /* Klicks gehen durch */
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.cta-waves svg {
    width: 100%;
    height: auto;
}

/* ========================================== */
/* 8. FOOTER */
/* ========================================== */

footer {
    background-color: var(--color-dark-purple);
    color: rgba(255, 255, 255, 0.7);
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-left .brand {
    color: var(--color-gold);
    font-weight: 600;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 15px;
}

.footer-right a:hover {
    color: var(--color-gold);
}

/* ========================================== */
/* 9. DROPDOWN */
/* ========================================== */

/* DROPDOWN CONTAINER */
.navbar .dropdown {
    position: relative;
}

/* KLAINES PFEIL-ICON NEBEN DEM TEXT */
.navbar .dropdown-icon {
    font-size: 0.75rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.navbar .dropdown:hover .dropdown-icon {
    transform: rotate(180deg); /* Dreht den Pfeil beim Hover um */
}

/* DROPDOWN MENÜ (VERSTECKT) */
.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    max-width: 250px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;

    /* Dezent vom Hintergrund abgehoben */
    background-color: rgba(27, 18, 44, 0.95);
    border: 1px solid rgba(197, 160, 89, 0.3); /* Subtiler Gold-Rahmen */
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);

    /* Animation (Einblenden) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;

    border-bottom-left-radius: 25px;
}

/* DROPDOWN ANZEIGEN BEIM HOVER */
.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* LINKS IM DROPDOWN */
.navbar .dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: none; /* Deaktiviert die normale Unterstreichung der Navbar */
    transition: all 0.2s ease;
}

/* HOVER-EFFEKT AUF DEN DROPDOWN-ITEMS */
.navbar .dropdown-menu li a:hover {
    background-color: rgba(197, 160, 89, 0.15); /* Dezenter Gold-Schimmer */
    color: var(--color-gold);
    padding-left: 25px; /* Leichter Einrückeffekt */
    border-bottom: none;
}

.navbar .dropdown-menu li:last-of-type a:hover {
    background-color: rgba(197, 160, 89, 0.15); /* Dezenter Gold-Schimmer */
    color: var(--color-gold);
    padding-left: 25px; /* Leichter Einrückeffekt */
    border-bottom: none;

    border-bottom-left-radius: 12px;
}

/* ========================================== */
/* 10. SUB-HERO SECTION (FÜR UNTERSEITEN) */
/* ========================================== */

.sub-hero-section {
    background: linear-gradient(135deg, rgba(27, 18, 44, 0.95) 0%, rgba(27, 18, 44, 0.8) 50%, rgba(27, 18, 44, 0.4) 100%),
                url('../bilder/hg_02.png') center/cover no-repeat;
    color: var(--color-white);
    padding: 75px 24px 75px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);

    max-height: 750px;
}

.sub-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;

    color: #fff;
}

.sub-hero-content .eyebrow {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-gold);
    font-family: var(--font-text);
    text-transform: uppercase;
    padding-bottom: 1rem;
}

.sub-hero-content .head {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 4.5rem;
    padding-bottom: 1rem;
}

.sub-hero-content .brand-title {
    font-size: 2rem; /* Etwas kleiner auf Unterseiten */
}

.sub-hero-content p {
    font-family: var(--font-text);
}

.sub-hero-title {
    position: relative;
    display: flex;

    bottom: 4em;
    left: 10em;

    max-width: 500px;

    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;

    text-transform: uppercase;
}

.sub-logo-symbol img {
    width: 50%;
    height: auto;
    display: block;
    object-fit: contain;
}

.sub-brand-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    font-weight: 600;
    /* line-height: 1; */

    /* OPTIONEN ZUM VERSCHIEBEN: */
    margin-top: -50px;     /* Schiebt den Text näher an das Logo heran */
    margin-left: 175px;     /* Schiebt den Text leicht nach rechts */
}

/* ========================================== */
/* 11. PAGE CONTENT (UNTERSEITEN-INHALT) */
/* ========================================== */

.page-content {
    padding: 80px 20px;
}

.about-text-block h2 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.about-text-block h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin: 40px 0 15px 0;
}

.about-text-block p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.value-list {
    list-style: none;
    margin-top: 15px;
}

.value-list li {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-list li i {
    color: var(--color-gold);
}

/* ========================================== */
/* 12. IMPRESSUM / DSGVO */
/* ========================================== */

/* Container sorgt für passenden Abstand unterhalb der festen Navbar */
.legal-page-container {
    padding-top: 50px; /* Schafft Platz für die Sticky Navbar */
    padding-bottom: 80px;

    background: linear-gradient(135deg, rgb(27, 18, 44) 25%, rgba(27, 18, 44, 0.8) 50%, rgba(27, 18, 44, 0.4) 100%),
                url('../bilder/hg_03.jfif') center/cover no-repeat;

    min-height: calc(100vh - 100px); /* Garantiert, dass der Footer ganz unten bleibt */

    color: var(--color-gold);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Dezentere Logogröße für Textseiten */
.legal-content .brand-header {
    margin-bottom: 20px;
}

.legal-content .brand-title {
    font-size: 2.2rem;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

/* Goldene Trennlinie unter der Hauptüberschrift */
.legal-divider {
    width: 100%;
    height: 4px;
    background-color: var(--color-gold);
    border-radius: 50%;
    margin: 40px 0;
}

/* Typografie für Rechtstexte */
.legal-section h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-section h3 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.legal-section p {
    font-size: 0.95rem;
    color: var(--color-creme);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section strong {
    color: var(--color-dark);
}

/* ========================================== */
/* 13. KONTAKTFORMULAR */
/* ========================================== */

.contact-form-container {
    max-width: 750px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Zeilen-Layout für Vorname / Nachname */
.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Eingabefelder & Labels */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-dark);
    background-color: #ffffff;
    border: 1px solid rgba(27, 18, 44, 0.2);
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

/* Interaktion beim Reinklicken */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

/* DSGVO Checkbox Zeile */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 5px;
    text-align: left;
}

.form-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-dark);
    cursor: pointer;
}

.form-checkbox-group label {
    font-size: 0.85rem;
    color: var(--color-text-dark);
    line-height: 1.5;
}

.form-checkbox-group label a {
    color: var(--color-dark);
    text-decoration: underline;
    font-weight: 500;
}

.form-checkbox-group label a:hover {
    color: var(--color-gold);
}

/* Button Zentrierung */
.form-submit-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Honeypot Spam-Feld unsichtbar machen */
/* Honeypot unsichtbar machen */
.form-check-hp {
    display: none !important;
}

/* ========================================== */
/* 14. FORMULAR STATUS OVERLAY (SUCCESS / ERROR) */
/* ========================================== */

.form-status-overlay {
    max-width: 750px;
    margin: 0 auto 25px auto;
    padding: 0 20px;
    animation: fadeInDown 0.4s ease;
}

.status-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid var(--color-gold);
}

/* Erfolgs-Zustand */
.status-content.success {
    border-left-color: #2e7d32; /* Sanftes Grün */
}
.status-content.success #status-icon {
    color: #2e7d32;
    font-size: 1.5rem;
}

/* Fehler-Zustand */
.status-content.error {
    border-left-color: #c62828; /* Sanftes Rot */
}
.status-content.error #status-icon {
    color: #c62828;
    font-size: 1.5rem;
}

.status-text h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 2px 0;
}

.status-text p {
    font-size: 0.85rem;
    color: var(--color-text-dark);
    margin: 0;
}

.status-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #888888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.status-close:hover {
    color: var(--color-dark);
}

/* Sanfte Einblende-Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================== */
/* LEISTUNGEN DETAILSEITEN */
/* ========================================== */

.sub-hero-content p {
    font-size: 1em;
}

.sub-hero-content .quick {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 50px;
    color: var(--color-gold);
}

.sub-hero-content .quick-link {
    color: var(--color-gold);
    border: 1px solid #C5A059;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.sub-hero-content .quick-link:hover {
    background-color: #C5A059;
    color: #1B122C;
}

/* Service Detail Abschnitte */
.services-detail-section {
    width: 100%;
}

.service-block {
    width: 100%;
    padding: 85px 25px;
    gap: 50px;
    scroll-margin-top: 80px;
    background-color: #f0ebf0;
}

.service-block.alt-bg {
    background-color: var(--color-creme); /* Creme Hintergrund für abwechselnde Blöcke */
}

.service-columns {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 55px;
    align-items: start;
    max-width: 1100px;
    margin: auto
}

.service-columns .eyebrow {
    padding-bottom: .1rem;
    font-size: 1em;
    color: var(--color-gold);
    font-weight: bold;
    text-transform: uppercase;
}

.service-intro h2 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: #000000;
    margin-bottom: .5em;
    line-height: 1.2;
    font-weight: bold;
}

.service-intro .sub-title {
    color: var(--color-dark-gold);
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.service-intro p {
    font-family: var(--font-text);

    color: #333333;
    margin: 0 0 16px;

}

.goal-box {
    border-top: 1px solid var(--color-gold);
    margin-top: 25px;
    padding-top: 19px;
    font-style: italic;
    color: #555555;
}

.goal-box b {
    font-style: normal;
    color: var(--color-dark-gold);
}

/* Accordion / Details Styling */
.details-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-accordion details {
    background: #ffffff;
    border: 1px solid #E0DACF;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.details-accordion details[open] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #C5A059;
}

.details-accordion summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: bold;
    color: #1B122C;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    user-select: none;
    font-family: var(--font-text);
}

.details-accordion summary::-webkit-details-marker {
    display: none;
}

.details-accordion summary::after {
    content: '+';
    color: #C5A059;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

.details-accordion details[open] summary::after {
    content: '−';
}

.details-accordion details[open] summary {
    border-bottom: 1px solid var(--color-accord-line);
}

.details-accordion .detail-content {
    padding: 16px 20px 20px;
    font-family: var(--font-text);
}

.details-accordion .detail-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.details-accordion .detail-content li {
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.5;
    color: #444444;
}

.details-accordion .detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

/* ========================================== */
/* 16. KONTAKT ACCORDION */
/* ========================================== */

/* ==========================================
   KONTAKT FORMULAR ACCORDION & BUTTON STYLING
   ========================================== */

/* 1. Container-Breite & Ausrichtung */
.contact-accordion-wrapper {
    max-width: 850px;
    min-width: 320px;
    margin: 0 auto 50px auto;
}

/* 2. Kasten-Design */
.contact-details {
    background-color: #ffffff;
    border: 1px solid var(--color-gold, #C5A059);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.contact-details[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* 3. Kompaktes Summary (Klick-Header im geschlossenen/offenen Zustand) */
.contact-details summary {
    cursor: pointer;
    padding: 12px 20px; /* Sehr kompakter Innenabstand für geringe Höhe */
    list-style: none;
    user-select: none;
}

.contact-details summary::-webkit-details-marker {
    display: none;
}

/* Header-Inhalt (Titel & Trennlinien) */
.contact-summary-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.contact-summary-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    color: var(--color-dunkelviolett, #1B122C);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.contact-summary-header .line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-gold, #C5A059);
    opacity: 0.7;
}

/* 4. Ausgeklappter Bereich & Formular */
.contact-details .contact-form-container {
    padding: 20px 25px 25px 25px;
    border-top: 1px solid #F0EAE1; /* Dünne Trennlinie direkt unter dem Summary */
}

/* Vorname & Nachname in einer Zeile */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 5. Submit-Button im Corporate Design (#1B122C & #C5A059) */
.contact-form .btn-submit {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--color-dunkelviolett, #1B122C);
    color: #ffffff;
    border: 1px solid var(--color-gold, #C5A059);
    border-radius: 12.5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Hover-Effekt für den Button */
.contact-form .btn-submit:hover {
    background-color: var(--color-gold, #C5A059);
    color: var(--color-dunkelviolett, #1B122C);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================== */
/* 18. KONTAKT KARTEN (GRID & STYLING) */
/* ========================================== */

/* Grid Container: Max 2 Karten pro Zeile & zentriert */
.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 850px;
    margin: 40px auto 50px auto;
}

/* Einzelne Karte */
.contact-card {
    background-color: #e5e5e5; /* Vorerst Grau (kannst du später anpassen) */
    border: 1px solid var(--color-gold, #C5A059);
    border-radius: 25px; /* Abgerundete Ecken 25px */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    width: 700px;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Obere Hälfte: Kreis mit Icon Zentriert */
.contact-card .card-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Dünne Trennlinie */
}

.contact-card .avatar-circle {
    width: 100px;
    height: 100px;
    background-color: var(--color-dunkelviolett, #1B122C);
    color: var(--color-gold, #C5A059);
    border: 2px solid var(--color-gold, #C5A059);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

/* Untere Hälfte: Vertikal zentriert, Inhalt linksbündig */
.contact-card .card-bottom {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    flex-grow: 0; /* Sorgt für vertikale Zentrierung */
}

.contact-card .card-bottom .name {
    font-size: 1.25em;
}

/* Info-Zeilen mit Icons */
.contact-card .info-line {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--color-dunkelviolett, #1B122C);
}

.contact-card .info-line .icon {
    color: var(--color-gold, #C5A059);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-card .info-line a {
    color: var(--color-dunkelviolett, #1B122C);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card .info-line a:hover {
    color: var(--color-gold, #C5A059);
}

/* Trennlinie & Social-Media Icon Container */
.contact-card .card-socials {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.12); /* Querstrich */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Zeile bricht bei vielen Icons auf Mobilgeräten sauber um */
    gap: 10px;
}

/* Runde Icon-Buttons */
.contact-card .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-dunkelviolett, #1B122C);
    color: var(--color-gold, #C5A059);
    border: 1px solid var(--color-gold, #C5A059);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover-Effekt */
.contact-card .social-icon:hover {
    background-color: var(--color-gold, #C5A059);
    color: var(--color-dunkelviolett, #1B122C);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================== */
/* 18. RESPONSIVE DESIGN */
/* ========================================== */

@media (max-width: 768px) {
    .contact-cards-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        padding: 0 15px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-accordion-wrapper {
        width: 90%;
    }

    .service-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-block {
        padding: 50px 20px;
    }
    .navbar {
        padding: 15px 25px;
        background-color: var(--color-dark-alpha);
    }

    .menu-toggle {
        display: block; /* Show Hamburger */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-dark-purple);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 0;
        border-top: 1px solid rgba(197, 160, 89, 0.2);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);

        /* Closed state animation */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
        pointer-events: none;
    }

    /* Open state triggered via JS */
    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 25px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: space-between;
    }

    .nav-links a.active,
    .nav-links a:hover {
        background-color: rgba(197, 160, 89, 0.1);
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    /* Mobile Dropdown Styling */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: rgba(0, 0, 0, 0.25);
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Toggled with JS on mobile */
    }

    .dropdown.is-active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 120px 25px 60px;
    }

    .brand-title {
        font-size: 2.8rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .cta-title {
        font-size: 2rem;
    }
    .cta-waves {
        width: 80%; /* Auf Mobilgeräten etwas breiter ziehbar */
        opacity: 0.6;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}