/* =========================================================
   1. CORE SYSTEM & VARIABLES
   ========================================================= */

:root {
    /* Farben - WCAG AA optimiert */
    --color-dark:        #1a2026;
    --color-text:        #3b3b3b;
    --color-grey-medium: #595959;
    --color-grey-light:  #717171;
    --color-disclaimer:  #767676;
    
    --color-bg-white:    #ffffff;
    --color-bg-alt:      #f6f7f9;
    
    --color-accent:      #222F54;
    --color-whatsapp:    #25D366;
    --color-emergency:   #cc3333;

    /* Layout Dimensionen */
    --max-width:         1305px;
    --header-height:     90px;
    --padding-container: 36px;
}

/* Fonts Import */
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 300; src: url('fonts/raleway-300.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; src: url('fonts/raleway-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 500; src: url('fonts/raleway-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 600; src: url('fonts/raleway-600.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 700; src: url('fonts/raleway-700.woff2') format('woff2'); font-display: swap; }

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; src: url('fonts/cormorant-300.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; src: url('fonts/cormorant-italic.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; src: url('fonts/cormorant-600.woff2') format('woff2'); font-display: swap; }

/* Reset & Globals */
*, *::before, *::after { box-sizing: border-box; }

html { 
    font-size: 14px; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    font-family: 'Raleway', sans-serif;
    margin: 0; padding: 0; width: 100%; max-width: 100%;
    font-size: 1rem; color: var(--color-text); line-height: 1.6;
    background-color: var(--color-bg-white);
    overflow-x: hidden;
    padding-top: var(--header-height);
    /* Typografie Optimierung (Versalziffern) */
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}

body.menu-open { overflow: hidden; } 
main { display: block; width: 100%; }
img { max-width: 100%; height: auto; display: block; }
::selection { background-color: var(--color-accent); color: #ffffff; }

/* Typography */
h1, h2, h3, h4 { 
    font-family: 'Cormorant Garamond', serif; color: var(--color-dark); 
    margin-top: 0; line-height: 1.1; 
}
h1 { font-weight: 300; letter-spacing: -0.02em; font-size: clamp(2.3rem, 4vw, 2.7rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.7rem, 4vw, 2rem); font-weight: 400; margin-bottom: 30px; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
.h2-centered { text-align: center; }
p { margin-bottom: 1em; text-align: justify; hyphens: auto; }

/* Layout Helpers */
.content-container, .header-container, .footer-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-container);
    position: relative; width: 100%;
}
.separator-line { width: 80px; height: 1px; background-color: rgba(0, 0, 0, 0.1); margin: 30px 0; }
.centered-line { margin-left: auto; margin-right: auto; }
.mobile-break { display: none; }
.mobile-visible-only { display: none !important; }

/* Accessibility */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: absolute; top: -50px; left: 0; background: #000; color: #fff; padding: 10px 15px; z-index: 9999; transition: top 0.3s; text-decoration: none; font-weight: bold; }
.skip-link:focus { top: 0; }
*:focus { outline: none; }
*:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

@media (max-width: 900px) {
    .desktop-break {
        display: none;
    }
}

@media (min-width: 901px) {
    .desktop-no-break {
        white-space: nowrap;
    }
}


/* =========================================================
   2. BUTTONS
   ========================================================= */

.button-group, .hero-btn-group { display: flex; align-items: center; gap: 15px; margin-top: 30px; }
.hero-btn-group { flex-wrap: nowrap; margin-top: 35px; gap: 12px; }

.btn {
    display: inline-block; padding: 12px 18px; text-decoration: none;
    text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em;
    font-weight: 600; transition: all 0.3s ease; cursor: pointer;
    text-align: center; border-radius: 0; white-space: nowrap;
}

.btn--solid, .btn--primary { background-color: var(--color-dark); color: #fff; border: 1px solid var(--color-dark); }
.btn--solid:hover, .btn--primary:hover { background-color: #fff; color: var(--color-accent); border-color: var(--color-accent); }

.btn--outline { background-color: transparent; color: var(--color-dark); border: 1px solid var(--color-dark); }
.btn--outline:hover { background-color: var(--color-dark); color: #fff; }

@media (max-width: 550px) {
    /* Container: Volle Breite nutzen */
    .hero-btn-group, .button-group { 
        flex-direction: column; 
        align-items: stretch; 
        width: 100%; 
        gap: 12px; /* Schönerer Abstand zwischen den Buttons */
    }

    .btn { 
        width: 100%; 
        text-align: center;
        
        /* 1. PLATZ GEWINNEN: Innenabstand links/rechts reduzieren */
        /* Da der Button eh fast den ganzen Screen füllt, brauchen wir innen kaum Rand */
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 14px;
        padding-bottom: 14px;

        /* 2. OPTISCHES TUNING: Buchstaben etwas enger zusammenrücken */
        /* Standard war 0.1em. 0.04em spart bei langen Wörtern viel Platz, ohne gequetscht zu wirken */
        letter-spacing: 0.04em; 
        
        /* 3. SCHRIFTGRÖSSE: Minimal kleiner (von 0.75rem auf 0.7rem) */
        font-size: 0.7rem; 

        /* 4. SICHERHEIT: Umbruch erlauben, aber durch obige Tricks vermeiden */
        white-space: normal; 
        line-height: 1.2;
    }
}

/* =========================================================
   3. HEADER & NAVIGATION
   ========================================================= */

.header-container {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    z-index: 1000; background-color: var(--color-bg-white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex; align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }

/* Logo Styles */
.brand-logo { text-decoration: none; display: flex; align-items: center; color: var(--color-dark); line-height: 1; flex-shrink: 0; font-size: 1.5rem; margin-top: -5px; }
.brand-symbol { font-family: 'Cormorant Garamond', serif; color: var(--color-dark); padding-right: 1.375em; margin-right: 1.375em; border-right: 1px solid rgba(0,0,0,0.15); display: flex; flex-direction: column; }
.symbol-row { display: flex; }
.brand-symbol span { width: 1.25em; height: 1.25em; display: flex; justify-content: center; align-items: center; position: relative; }
.brand-symbol span::before { content: attr(data-letter); position: absolute; font-weight: 300; font-size: 0.75em; color: var(--color-dark); }
.brand-symbol span.vowel::before { color: #767676; }

.brand-text-group { display: flex; flex-direction: column; justify-content: center; position: relative; top: -1px; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7em; font-weight: 300; text-transform: uppercase; color: var(--color-dark); white-space: nowrap; line-height: 0.9; letter-spacing: 0.22em; margin-right: -0.22em; margin-bottom: 0.15em; margin-left: 1px; }
.brand-slogan { font-family: 'Raleway', sans-serif; font-weight: 500; font-size: 0.68em; letter-spacing: 0.57em; margin-right: -0.57em; text-transform: uppercase; color: var(--color-grey-medium); white-space: nowrap; line-height: 1; margin-left: 2px; }

/* Desktop Navigation */
.header-right-group { display: flex; align-items: center; }
.menu-desktop ul { display: flex; gap: 35px; margin-left: 0; padding: 0; list-style: none; }

.menu-desktop a { 
    font-family: 'Raleway', sans-serif; font-weight: 550; font-size: 0.7rem;
    text-decoration: none; color: var(--color-dark); text-transform: uppercase;
    letter-spacing: 0.12em; transition: color 0.3s ease;
    display: inline-block; padding: 10px 10px; margin-top: 2px;
}
.menu-desktop a:hover, .menu-desktop a[aria-current="page"] { color: #000000; }
.header-sep { width: 1px; height: 18px; background-color: #e0e0e0; margin: 0 30px; }

/* Language Switcher */
.language-switcher-inline { display: flex; gap: 15px; align-items: center; }
.lang-link { font-family: 'Raleway', sans-serif; font-size: 0.75rem; font-weight: 600; text-decoration: none; color: var(--color-dark); opacity: 0.6; transition: all 0.3s ease; letter-spacing: 0.05em; cursor: pointer; }
.lang-link:hover, .lang-link.active { opacity: 1; color: var(--color-accent); }

/* Mobile Menu */
.menu-toggle { display: none; cursor: pointer; background: none; border: none; padding: 10px; color: var(--color-dark); margin-right: -10px; margin-left: auto; }
.menu-mobile { visibility: hidden; opacity: 0; max-height: 0; overflow: hidden; transition: all 0.3s ease-in-out; background-color: #fff; position: fixed; left: 0; right: 0; top: var(--header-height); z-index: 9999; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); padding-left: var(--padding-container); padding-right: var(--padding-container); overflow-y: auto; }
.menu-mobile.open { visibility: visible; opacity: 1; max-height: 80vh; padding-bottom: 20px; border-bottom: 1px solid #eee; display: block; }
.menu-mobile ul { list-style: none; padding: 0; margin: 20px 0; }
.menu-mobile li { margin: 15px 0; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.menu-mobile a { font-size: 1rem; text-decoration: none; color: var(--color-dark); font-weight: 500; display: block; }

/* Header Media Queries */
@media (max-width: 1450px) { .brand-logo { font-size: 1.3rem; } }

@media (max-width: 1150px) {
    .header-right-group { display: none; } 
    .menu-toggle { display: block; }
}

@media (max-width: 900px) {
    .header-container { height: 90px; overflow: visible; }
    .menu-mobile { top: 90px; }
    .brand-logo { max-width: 75%; font-size: 0.9em; margin-bottom: -10px; z-index: 10; pointer-events: auto; }
    .menu-toggle { position: absolute; top: 23px; right: 20px; width: 44px; height: 44px; z-index: 99999; }
}


/* =========================================================
   4. SECTIONS & LAYOUT GENERAL
   ========================================================= */

section, footer { padding-top: 54px; padding-bottom: 54px; display: block; position: relative; border-bottom: 1px solid rgba(0,0,0,0.1); background-color: var(--color-bg-white); }
section:last-of-type { border-bottom: none; }

@media (max-width: 900px) { 
    section, footer { padding-top: 40px; padding-bottom: 40px; } 
}


/* =========================================================
   5. HERO SECTION
   ========================================================= */

.hero-section { padding-top: 30px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: 5%; align-items: center; margin-right: 40px; }
.hero-image-wrapper { order: 1; width: 90%; display: flex; justify-content: center; }
.hero-text { order: 2; }
.hero-description { max-width: 650px; }

/* Desktop Adjustment */
@media (min-width: 901px) {
    .hero-image-wrapper { transform: translate(0px, 5px); }
}

@media (max-width: 900px) {
    .hero-section { padding-top: 30px; }
    .hero-grid { display: flex; flex-direction: column; gap: 40px; margin-right: 0; }
    .hero-image-wrapper { order: 10; margin-top: 40px; transform: none; width: 100%; }
    .hero-text { order: 1; text-align: justify; padding-left: 0; }
    .mobile-break { display: block; }
}


/* =========================================================
   6. EMERGENCY BANNER
   ========================================================= */

.emergency-banner-section { padding-top: 10px; padding-bottom: 40px; }
.emergency-box { background-color: var(--color-dark); border-radius: 2px; padding: 35px 40px; text-align: center; position: relative; overflow: hidden; color: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); max-width: 900px; margin: 30px auto 0 auto; }
.emergency-content-wrapper { position: relative; z-index: 2; }
.emergency-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 500; color: #ffffff; margin-bottom: 10px; letter-spacing: 0.02em; }
.emergency-action-row { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 10px 0 15px 0; }
.emergency-number-text {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    cursor: text;
    white-space: nowrap; /* <--- Diese Zeile hinzufügen: Verhindert den Umbruch */
	margin-bottom: -20px
}
.btn-emergency-call { display: flex; justify-content: center; align-items: center; width: 44px; height: 44px; background-color: #ffffff; border-radius: 50%; text-decoration: none; transition: transform 0.2s ease, background-color 0.2s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.3); margin-bottom: -15px }
.btn-emergency-call:hover { transform: scale(1.05); background-color: #f0f0f0; }
.phone-icon { width: 20px; height: 20px; fill: var(--color-dark); }
.emergency-box p { font-family: 'Raleway', sans-serif; font-size: 1rem; font-weight: 400; color: rgba(255, 255, 255, 0.8); margin: 0 auto; max-width: 600px; line-height: 1.5; }
.emergency-bg-icon { position: absolute; bottom: -50px; right: -40px; width: 300px; height: 300px; fill: #ffffff; opacity: 0.03; transform: rotate(-15deg); pointer-events: none; z-index: 1; }

@media (max-width: 900px) {
   .emergency-banner-section { order: -1; padding-top: 10px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .emergency-box { padding: 30px 20px; }
    .emergency-number-text { 
        font-size: 1.4rem; /* <--- Von 1.6rem auf 1.4rem reduziert, damit es sicher passt */
    }
    .emergency-bg-icon { width: 180px; height: 180px; bottom: -20px; right: -30px; }
    main#main-content { display: flex; flex-direction: column; }
}


/* =========================================================
   7. COMPETENCE & ABOUT
   ========================================================= */

.competence-list-section { background-color: var(--color-bg-white); }
.competence-disclaimer { display: block; text-align: center; font-family: 'Raleway', sans-serif; font-size: 0.75rem; color: var(--color-disclaimer); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }

/* Legal Index Grid */
.legal-index-grid { width: 100%; border: none; padding: 20px 0; max-width: 1100px; margin: 0 auto; }
.legal-index-grid ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 40px; list-style: none; padding: 0; margin: 0; }
.legal-index-grid li { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--color-dark); font-weight: 400; cursor: default; line-height: 1.5; }
.legal-index-grid ul::after { content: "..."; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: #767676; margin-left: 10px; }

/* Bio Grid (Desktop) */
.bio-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    align-items: start; 
}
.about-image-col { width: 80%; display: flex; flex-direction: column; align-items: flex-start; }
.bio-image { width: 100%; max-width: 380px; height: auto; border-radius: 2px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); }

.about-text-col {
    padding-left: 0; /* Stellt sicher, dass kein Innenabstand nach rechts schiebt */
    margin-left: -50px;
	margin-right: 35px;
    text-align: justify; /* Behält deinen Blocksatz bei */
}

/* Competence Mobile */
@media (max-width: 900px) {
    .legal-index-grid ul { display: block; column-count: 2; column-gap: 30px; text-align: left; padding: 0 10px; }
    .legal-index-grid li { font-size: 1rem; border-bottom: 1px solid #f4f4f4; margin-bottom: 8px; break-inside: avoid; }
    .legal-index-grid ul::after { display: none; }

    /* Layout Swap: Bild nach oben */
    .bio-grid { display: flex; flex-direction: column; width: 100%; gap: 30px; align-items: center; }
    .about-image-col { order: -1; width: 100%; align-items: center; margin-bottom: 20px; }
    .bio-image { max-width: 100%; width: 100%; max-width: 500px; }
     .about-text-col {
        margin-left: 0;   /* Hebt die Verschiebung auf Mobile auf */
        margin-right: 0;  /* Nutzt die volle Breite auf Mobile */
        padding: 0 10px;  /* Sorgt für einen kleinen Sicherheitsabstand zum Rand */
    }
}


/* Bio Grid (Desktop) */

.lawyer-grid { 

    display: grid; 

    grid-template-columns: 1.5fr 1fr; 

    gap: 50px; 

    align-items: start; 

}

.lawyer-image-col { width: 100%; display: flex; flex-direction: column; align-items: flex-start; }

.lawyer-bio-image { width: 100%; max-width: 380px; height: auto; border-radius: 2px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); }



/* Competence Mobile */

@media (max-width: 900px) {

    .legal-index-grid ul { display: block; column-count: 2; column-gap: 30px; text-align: left; padding: 0 10px; }

    .legal-index-grid li { font-size: 1rem; border-bottom: 1px solid #f4f4f4; margin-bottom: 8px; break-inside: avoid; }

    .legal-index-grid ul::after { display: none; }



    /* Layout Swap: Bild nach oben */

    .lawyer-grid { display: flex; flex-direction: column; width: 100%; gap: 30px; align-items: center; }

    .lawyer-image-col { order: -1; width: 100%; align-items: center; margin-bottom: 20px; }

    .lawyer-bio-image { max-width: 100%; width: 100%; max-width: 500px; }

    .lawyer-text-part { width: 100%; padding: 0 10px; }

}


/* =========================================================
   8. PROCESS SECTION
   ========================================================= */

.process-section.grey-bg { background-color: var(--color-bg-white); }
.process-steps-horizontal { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; padding-bottom: 50px; border-bottom: 1px solid rgba(0,0,0,0.1); margin-bottom: 60px; }
.step-item-horiz { display: flex; flex-direction: column; padding: 0 40px; position: relative; }
.step-item-horiz::after { content: ""; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background-color: rgba(0,0,0,0.1); }
.step-item-horiz:last-child::after { display: none; }
.step-item-horiz:first-child { padding-left: 0; }

.step-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; color: #b0b0b0; font-weight: 300; line-height: 1; margin-bottom: 15px; }
.step-txt h3 { font-family: 'Raleway', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin: 0 0 10px 0; color: var(--color-dark); }
.step-txt p { font-size: 0.85rem; margin: 0; line-height: 1.5; color: var(--color-text); }

.process-intro-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.process-text-col { padding-right: 20px; }
.process-main-image { display: block; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); width: 90%; max-width: 550px; margin: 0 auto; }

@media (max-width: 900px) {
    .process-steps-horizontal { grid-template-columns: 1fr; padding-bottom: 0; margin-bottom: 50px; gap: 40px; border-bottom: none; }
    .step-item-horiz { padding: 0 !important; flex-direction: row; align-items: flex-start; gap: 20px; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 30px !important; }
    .step-item-horiz:last-child { border-bottom: none; }
    .step-item-horiz::after { display: none; }
    .step-num { margin-bottom: 0; font-size: 2.5rem; min-width: 60px; }
    
    .process-intro-row { grid-template-columns: 1fr; gap: 40px; }
    .process-text-col { padding-right: 0; }
    .process-main-image { width: 100%; margin: 0; }
    .separator-line.mobile-visible-only { display: block !important; width: 100vw; position: relative; left: 50%; margin-left: -50vw; margin-top: 50px; margin-bottom: 50px; background-color: rgba(0, 0, 0, 0.1); }
}


/* =========================================================
   9. FOOTER
   ========================================================= */

.footer { background-color: var(--color-dark); color: #ffffff; border-top: none; font-size: 0.85rem; }
.footer-grid-layout { display: grid; grid-template-columns: 35% 1fr; gap: 80px; align-items: start; }

/* Left Column */
.footer-col-left { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 0; }
.footer .brand-logo { transform: none; margin-bottom: 25px; margin-top: 0; }
.footer .brand-name, .footer .brand-symbol span::before { color: #ffffff !important; }
.footer .brand-symbol span.vowel::before { color: #aaaaaa !important; }
.footer .brand-symbol { border-right: 1px solid rgba(255, 255, 255, 0.3) !important; }
.footer .brand-slogan { color: #999999 !important; position: relative; left: -1.5px !important; }

/* Cooperation Logos */
.coop-wrapper { margin-top: 5px; width: 100%; text-align: center; }
.koop-label { font-size: 0.65rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 25px; display: inline-block; }
.cooperation-logos-left { display: flex; flex-direction: column; gap: 35px; align-items: center; }
.koop-img-tall { height: 40px; filter: saturate(0%) opacity(0.6); transition: all 0.4s; }
.koop-img-tall:hover { filter: saturate(100%) opacity(1); }

/* Right Column */
.footer-col-right { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 60px; padding-top: 10px; }
.footer-label { display: block; font-family: 'Raleway', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: #aaa; margin-bottom: 10px; margin-top: 0; font-weight: 600; }
.footer-address-clean, .contact-row a { color: #e0e0e0; font-style: normal; text-decoration: none; }
.footer-address-clean { display: block; margin-bottom: 40px; }

/* Contact List */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-row { display: grid; grid-template-columns: 25px 1fr; align-items: baseline; }
.c-type { color: #aaa; font-size: 0.75rem; font-weight: 600; }

/* Footer Bottom */
.footer-bottom-row { margin-top: 60px; display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.footer-legal-nav a { color: #aaa; text-decoration: none; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em; margin-right: 30px; }
.copyright-text { color: #777; font-size: 0.7rem; }


/* Footer Mobile Tweaks */
@media (max-width: 900px) {
    footer.footer { padding-top: 60px; padding-bottom: 160px; text-align: center; }
    
    .footer-grid-layout { display: flex; flex-direction: column; align-items: center; gap: 70px; width: 100%; }
    .footer-col-left, .footer-col-right { width: 100%; border: none; padding-left: 0; }
    
    /* Logo vergrößert für Mobile */
    .footer .brand-logo { justify-content: center; width: 100%; font-size: 1.0rem; margin-bottom: 30px; }
    .footer .brand-symbol { margin-right: 20px; padding-right: 20px; border-right-width: 2px !important; }
    
    .footer-col-right .main-info-group { display: flex; flex-direction: column; gap: 60px; width: 100%; align-items: center; }
    .footer-block { width: 100%; max-width: 320px; display: flex; flex-direction: column; align-items: center; }
    .footer-label { text-align: center; margin-bottom: 15px; opacity: 0.8; }
    .footer-address-clean { text-align: center; line-height: 1.8; margin-bottom: 0; }

    /* Email Alignment Fix */
    .footer-block .contact-list { display: inline-block; text-align: left; margin: 0 auto; }
    .contact-row { display: grid; grid-template-columns: 25px 1fr; align-items: baseline; gap: 5px; font-size: 0.95rem; }
    .footer-address-clean { font-size: 0.95rem; }

    /* Bottom Row */
    .footer-bottom-row { margin-top: 50px; flex-direction: column; align-items: center; gap: 25px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
    .footer-legal-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; width: 100%; }
    .footer-legal-nav a { margin: 0; color: #ccc; }
    .copyright-text { margin-top: 10px; opacity: 0.5; }
}


/* =========================================================
   10. MOBILE STICKY ELEMENTS (WhatsApp)
   ========================================================= */

.mobile-sticky-wrapper { display: none; }
@media (max-width: 900px) {
    .mobile-sticky-wrapper {
        display: flex; flex-direction: column; align-items: center; gap: 8px;
        position: fixed; bottom: max(30px, env(safe-area-inset-bottom) + 20px);
        right: 25px; z-index: 10000;
    }
    .sticky-wa {
        width: 60px; height: 60px; background-color: var(--color-whatsapp);
        border-radius: 50%; display: flex; justify-content: center; align-items: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15); text-decoration: none;
    }
    .sticky-wa-icon { width: 32px; height: 32px; fill: #ffffff; }
}


/* =========================================================
   11. SUBPAGES (Contact, Legal, Location)
   ========================================================= */

.contact-page-section { padding-bottom: 60px; }
.intro-text-centered strong { font-weight: 700; color: var(--color-dark); }
.contact-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; margin-bottom: 40px; }

.intro-text-centered { text-align: center; max-width: 700px; margin: 0 auto 40px auto; color: var(--color-grey-medium); }

.detail-block { margin-bottom: 50px; }
.detail-block h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 15px; margin-bottom: 20px; color: var(--color-dark); }
.contact-address { font-style: normal; font-size: 1.1rem; line-height: 1.6; color: var(--color-text); }

.contact-list-plain { list-style: none; padding: 0; margin: 0; }
.contact-list-plain li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f4f4f4; font-size: 1.05rem; }
.contact-list-plain li:last-child { border-bottom: none; }
.contact-list-plain .label { color: #999; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.link-dark { text-decoration: none; color: var(--color-dark); transition: color 0.3s; }
.link-dark:hover { color: var(--color-accent); }

/* Vertical Emergency Box */
.contact-emergency-col { margin-top: 35px; }
.emergency-box-vertical { background-color: var(--color-dark); border-radius: 2px; padding: 0px 30px 50px 30px; text-align: center; position: relative; overflow: hidden; color: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); min-height: 400px; display: flex; flex-direction: column; justify-content: center; }
.emergency-content-wrapper-vertical h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 500; color: #ffffff; margin-bottom: 10px; }
.emergency-content-wrapper-vertical p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* Location Section */
.location-section { background-color: var(--color-bg-white); border-top: 1px solid rgba(0,0,0,0.05); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.location-text { padding-right: 20px; }
.location-text p { color: var(--color-grey-medium); margin-bottom: 1.5em; line-height: 1.7; }
.location-text .btn { margin-top: 5px; }
.text-highlight { font-weight: 700; color: var(--color-dark); }
.location-map-wrapper { margin-top: 70px; }
.map-img-styled { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: filter 0.3s; }
.map-img-styled:hover { filter: brightness(1.02); }

@media (max-width: 900px) {
    .contact-split-grid { grid-template-columns: 1fr; gap: 50px; margin-top: 30px; }
    .contact-details-col { order: 1; }
    .contact-emergency-col { order: 2; margin-top: 0; }
    .location-grid { grid-template-columns: 1fr; gap: 40px; }
    .location-text { padding-right: 0; order: 2; }
    .location-map-wrapper { order: 1; margin-top: 0; }
}

/* Legal Text Container */
.legal-text-container { max-width: 900px; margin: 0 auto; text-align: left; }
.legal-text-container h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--color-dark); margin-top: 50px; margin-bottom: 25px; }
.legal-text-container h3 { font-family: 'Raleway', sans-serif; font-size: 1.1rem; font-weight: 700; margin-top: 30px; margin-bottom: 15px; color: var(--color-dark); }
.legal-text-container h4 { font-family: 'Raleway', sans-serif; font-size: 1rem; font-weight: 600; margin-top: 25px; margin-bottom: 10px; font-style: italic; color: var(--color-grey-medium); }
.legal-text-container p { font-size: 1rem; color: var(--color-text); margin-bottom: 15px; line-height: 1.7; }
.legal-text-container ul { padding-left: 20px; margin-bottom: 20px; }
.legal-text-container li { margin-bottom: 10px; line-height: 1.6; }
.legal-highlight-box { border: 1px solid var(--color-dark); padding: 30px; background-color: #f9f9f9; margin: 40px 0; }
.legal-highlight-box p { margin-bottom: 20px; }
.legal-highlight-box p:last-child { margin-bottom: 0; }
.legal-address-box { font-style: normal; background-color: var(--color-bg-alt); padding: 20px; border-left: 3px solid var(--color-accent); margin-bottom: 20px; }
.legal-text-container a { color: var(--color-dark); text-decoration: underline; }
.legal-text-container a:hover { color: var(--color-accent); }


/* =========================================================
   12. HÄUFIGE FRAGEN (FAQ) - ELEGANTES PFEIL-DESIGN
   ========================================================= */

.faq-section { padding-bottom: 80px; }
.faq-container { max-width: 900px; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); margin-bottom: 0; }

details { padding: 25px 0; transition: all 0.3s ease; }

summary {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    /* Standard-Browser-Dreieck entfernen */
    list-style: none;
    position: relative;
    /* Platz rechts schaffen, damit der Text nicht über dem Pfeil liegt */
    padding-right: 40px;
    line-height: 1.3;
}

/* Für Webkit-Browser (Chrome, Safari) das Standard-Dreieck entfernen */
summary::-webkit-details-marker { display: none; }

/* --- Der elegante CSS-Pfeil (Chevron) --- */
summary::after {
    content: '';
    position: absolute;
    /* Positionierung oben rechts */
    top: 12px; /* Optisch an der ersten Textzeile ausgerichtet */
    right: 5px;
    
    /* Wir bauen ein Quadrat ... */
    width: 8px;
    height: 8px;
    
    /* ... und geben ihm nur oben und rechts eine feine Linie */
    border-top: 1px solid var(--color-grey-light);
    border-right: 1px solid var(--color-grey-light);
    
    /* ZUSTAND GESCHLOSSEN: Wir drehen es um 135 Grad, damit es nach UNTEN zeigt */
    transform: rotate(135deg);
    
    /* Weiche Animation für Drehung und Farbe */
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}


/* --- Zustand: GEÖFFNET --- */

/* Textfarbe des Titels ändern */
details[open] summary {
    color: var(--color-accent);
    margin-bottom: 15px;
}

/* Pfeil animieren */
details[open] summary::after {
    /* Farbe ändern */
    border-color: var(--color-accent);
    
    /* ZUSTAND OFFEN: Wir drehen es, damit es nach OBEN zeigt (-45 Grad) */
    /* Tipp: rotate(315deg) würde auch gehen, dreht aber andersherum */
    transform: rotate(-45deg) translateY(2px); /* translateY korrigiert die optische Mitte leicht */
}


/* --- FAQ ANTWORTEN (Bleibt unverändert) --- */
.faq-answer {
    font-family: 'Raleway', sans-serif;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1rem;
    padding-right: 20px;
    animation: fadeIn 0.4s ease-in-out;
}

.faq-answer p { margin-bottom: 15px; text-align: justify; hyphens: auto; }
.faq-answer ul, .faq-answer ol { margin-bottom: 15px; padding-left: 20px; }
.faq-answer li { margin-bottom: 8px; }

.faq-answer a:not(.btn) {
    color: var(--color-dark); text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.2); transition: all 0.2s;
}
.faq-answer a:not(.btn):hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

/* =========================================================
   FINALE NOTFALL-BOX (FAQ) - KONSISTENT ZUR KONTAKTSEITE
   ========================================================= */

.emergency-box-small {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-dark); /* Exakt dasselbe Blau wie Kontaktseite */ 
    padding: 10px 10px 10px 25px;
    margin: 20px 0;
    border-radius: 2px;
    gap: 20px;
    /* Schatten wie auf der Kontaktseite, aber etwas dezenter für die Größe */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

/* Auswahl-Farbe (Highlighting) sichtbar machen */
.emergency-box-small *::selection {
    background-color: #ffffff !important;
    color: var(--color-accent) !important;
}
.emergency-box-small *::-moz-selection {
    background-color: #ffffff !important;
    color: var(--color-accent) !important;
}

.emergency-text-part {
    display: flex;
    flex-direction: column;
    pointer-events: auto; 
}

.emergency-box-small .emergency-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    /* Farbe wie in der Kontaktbox-Beschreibung */
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    pointer-events: none; 
}

.emergency-box-small .emergency-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    cursor: text;
    user-select: text !important;
    -webkit-user-select: text !important;
    position: relative;
    z-index: 20;
}

/* Rechter Button (Anruf) - Invertiert wie besprochen */
.emergency-call-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.emergency-call-trigger:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}

.emergency-call-trigger svg {
    width: 20px;
    height: 20px;
    fill: var(--color-accent); /* Icon in Marken-Blau */
}

@media (max-width: 600px) {
    .emergency-box-small {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

blockquote {
    font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem;
    border-left: 2px solid var(--color-accent); margin: 20px 0; padding-left: 20px; color: var(--color-dark);
}

.faq-cta-wrapper {
    margin-top: 60px; 
    text-align: center;
    background-color: var(--color-bg); 
    padding: 40px; 
    border-radius: 2px;
    /* Neu hinzugefügt: */
    border: 1px solid #eee; 
}
.faq-cta-text {
    display: block; font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; margin-bottom: 20px; color: var(--color-dark);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   13. DOWNLOADS
   ========================================================= */

.download-section {
    padding: 100px 20px; background-color: var(--color-bg-white);
    color: #111; display: flex; justify-content: center; min-height: 60vh;
}
.content-container-narrow { max-width: 800px; width: 100%; }

.page-headline {
    font-family: 'Cormorant Garamond', serif; font-size: 2.5rem;
    font-weight: 600; margin-bottom: 40px; color: var(--color-dark);
    letter-spacing: -0.5px; text-align: left; padding-left: 10px;
}

.download-list { list-style: none; padding: 0; margin: 0; }

.dl-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 25px; margin-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08); border-radius: 6px;
    text-decoration: none; transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.dl-item:hover { background-color: rgba(34, 47, 84, 0.08); border-color: transparent; }

.dl-content { display: flex; align-items: center; }
.file-icon { width: 32px; height: 32px; margin-right: 20px; color: #cc0000; opacity: 0.9; flex-shrink: 0; }
.dl-text-group { display: flex; flex-direction: column; }
.dl-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--color-dark); margin-bottom: 4px; line-height: 1.2; }
.dl-meta { font-family: 'Raleway', sans-serif; font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }
.dl-action { color: var(--color-dark); font-size: 1.2rem; opacity: 0.2; transition: opacity 0.3s ease; }
.dl-item:hover .dl-action { opacity: 1; color: var(--color-accent); }

@media (max-width: 600px) {
    .page-headline { font-size: 2rem; padding-left: 0; }
    .dl-item { padding: 15px 15px; }
    .file-icon { width: 28px; height: 28px; margin-right: 15px; }
    .dl-title { font-size: 1.1rem; }
}


/* =========================================================
   14. KARRIERE
   ========================================================= */

.career-content-wrapper { max-width: 800px; margin-right: auto; margin-left: 0; }

.job-box {
    background-color: var(--color-bg); padding: 40px;
    border-left: 4px solid var(--color-dark); margin-bottom: 40px; border-radius: 2px;
}
.job-title {
    font-size: 1.5rem; font-weight: 600; margin-bottom: 10px;
    color: var(--color-dark); font-family: 'Cormorant Garamond', serif;
}
.job-requirements ul { padding-left: 20px; margin-bottom: 20px; }
.job-requirements li { margin-bottom: 8px; font-family: 'Raleway', sans-serif; }

.application-notice {
    background-color: #fff; border: 1px solid rgba(0,0,0,0.1);
    padding: 30px; margin-top: 50px; font-size: 0.95rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.no-cover-letter {
    font-weight: 700; display: block; margin-bottom: 5px;
    color: var(--color-dark); text-transform: uppercase;
    letter-spacing: 0.05em; font-size: 0.85rem;
}
.info-box-grey {
    background: #f4f4f4; padding: 20px;
    border-left: 3px solid var(--color-accent); margin-bottom: 30px; font-size: 0.9rem;
}

@media (max-width: 900px) {
    .career-content-wrapper { max-width: 100%; }
}


/* =========================================================
   15. MAP LIGHTBOX (MODAL)
   ========================================================= */

/* Der dunkle Hintergrund */
.modal-overlay {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(5px);
    
    /* Flexbox für perfekte Zentrierung */
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Wenn geöffnet */
.modal-overlay.open {
    display: flex;
    opacity: 1;
}

/* Container für das Bild (Hilft bei der Zentrierung) */
.modal-content {
    position: relative;
    width: auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Das Bild im Modal - FIX FÜR DIE BREITE */
.modal-content img {
    display: block;
    width: auto;          /* Darf kleiner sein als Original */
    height: auto;         /* Seitenverhältnis beibehalten */
    
    /* Hier ist der Fix: */
    max-width: 90vw;      /* Maximal 90% der Bildschirmbreite */
    max-height: 90vh;     /* Maximal 90% der Bildschirmhöhe */
    
    margin: 0 auto;       /* Zentrieren */
    border-radius: 2px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    object-fit: contain;  /* Stellt sicher, dass alles sichtbar ist */
    animation: zoomIn 0.3s ease;
}


.close-modal {
    position: absolute;
    /* Positioniert das X genau in die Ecke des Bild-Containers */
    top: 15px;
    right: 15px;
    z-index: 100000;
    
    /* Typografie für ein elegantes X */
    color: rgba(255, 255, 255, 0.9); /* Fast reines Weiß */
    font-size: 40px;      /* Schön groß */
    font-weight: 300;     /* Dünn und edel */
    font-family: sans-serif; /* Symmetrisches X */
    line-height: 0.7;     /* Kompakte Höhe, damit die Position stimmt */
    
    cursor: pointer;
    transition: all 0.4s ease; /* Weicher Übergang für Hover */

    /* WICHTIG: Text-Schatten, damit es auf hellem/buntem Kartenhintergrund lesbar bleibt */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);

    /* Resets für den alten Kreis-Look (falls noch Reste da sind) */
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 0;
    box-shadow: none;
    display: block;
}

.close-modal:hover {
    color: var(--color-accent); /* Deine blaue Akzentfarbe */
    transform: rotate(90deg);   /* Elegante Drehung beim Hover */
    text-shadow: none;          /* Schatten weg, wenn Farbe kommt */
}

/* Animation beim Öffnen */
@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Mauszeiger auf der normalen Karte */
.map-img-styled {
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.map-img-styled:hover {
    transform: scale(1.01);
    filter: brightness(1.05);
}

/* Styling für Mitgliedschafts-Links */
.association-link {
    text-decoration: none !important; /* Entfernt Unterstreichung */
    color: inherit !important;        /* Behält Textfarbe bei */
    display: block;                   /* Macht den Link block-artig für bessere Klickfläche */
    padding: 4px 8px;                 /* Innenabstand für den Hintergrund */
    margin: -4px -8px;                /* Ausgleich, damit der Text nicht verrutscht */
    border-radius: 4px;               /* Leicht abgerundete Ecken */
    transition: background-color 0.2s ease; /* Weicher Übergangseffekt */
}

.association-link:hover {
    background-color: #f3f4f6;        /* Hellgrauer Hintergrund bei Hover */
}

/* =========================================================
   16. MOBILE LESBARKEIT (DEUTLICH VERGRÖßERT)
   ========================================================= */

@media (max-width: 900px) {
    html { 
        /* BASIS-SCHRIFTGRÖSSE ERHÖHEN:
           Vorher: 14px. 
           Neu: 17px (Das vergrößert ALLES, was auf 'rem' basiert automatisch) */
        font-size: 14px !important; 
    }

    body {
        /* Etwas mehr Zeilenabstand, damit die große Schrift nicht gequetscht wirkt */
        line-height: 1.65; 
        -webkit-text-size-adjust: 100%;
    }

    /* Fließtext: Nutzt die volle neue Größe (1rem = 17px) */
    p, .faq-answer, .step-txt p, .legal-text-container p, .job-requirements li {
        font-size: 1rem;
    }

    /* Überschriften deutlich anheben, damit sie sich vom Text abheben */
    h1 { font-size: 2.1rem !important; line-height: 1.2; margin-bottom: 25px; }
    h2 { font-size: 1.7rem !important; margin-bottom: 25px; }
    h3 { font-size: 1.3rem !important; margin-bottom: 15px; }

    /* Buttons: Größere Schrift & Klickfläche für einfache Bedienung */
    .btn { 
        font-size: 0.9rem !important; /* Deutlich größer als vorher 0.7rem */
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        letter-spacing: 0.05em;
    }

    /* Rechtsgebiete-Liste: Besser lesbar & mehr Abstand */
    .legal-index-grid li {
        font-size: 1.1rem !important;
        padding: 12px 0 !important;
    }

    /* Footer & Kontakt: Weg vom "Kleingedruckten"-Look */
    .footer-address-clean, 
    .contact-row,
    .contact-list-plain li {
        font-size: 1.05rem !important;
    }
    
    .footer-label {
        font-size: 0.85rem; /* Auch die Labels etwas größer */
    }

    /* Notfallnummer in der Box sicherstellen, dass sie groß bleibt */
    .emergency-number-text {
        font-size: 1.6rem;
    }
}

/* =========================================================
   FIX: MOBILE ZENTRIERUNG (KONTAKT & ANFAHRT)
   ========================================================= */

@media (max-width: 900px) {

    /* 1. Überschriften und Texte global zentrieren */
    .contact-page-section h1,
    .contact-page-section h2,
    .contact-page-section p,
    .location-section h2,
    .location-section p {
        text-align: center !important;
    }

    /* 2. Container schön mittig stapeln */
    .contact-split-grid, 
    .location-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Zentriert die Boxen selbst */
        width: 100% !important;
    }

    /* 3. Die einzelnen Spalten begrenzen (damit sie nicht zu breit wirken) */
    .contact-details-col, 
    .contact-emergency-col, 
    .location-text, 
    .location-map-wrapper {
        width: 100% !important;
        max-width: 500px !important; /* Optimale Lesebreite */
        margin: 0 auto !important;   /* Zentriert den Block horizontal */
    }

    /* 4. Kontakt-Liste: Spezieller Fix */
    /* Die Liste selbst soll ihre Struktur behalten, aber im Container mittig wirken */
    .detail-block {
        display: flex;
        flex-direction: column;
        align-items: center; /* Zentriert Überschriften und Addressen */
        width: 100%;
    }
    
    .contact-list-plain {
        width: 100%; /* Liste nutzt volle Breite */
        text-align: left; /* Inhalt der Liste bleibt links/rechtsbündig für sauberen Look */
    }

    /* 5. Buttons (z.B. Google Maps) zentrieren */
    .location-text .btn,
    .btn--outline {
        display: table; /* Trick für zentrierte Buttons mit Margin auto */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 6. Adresse mittig */
    .contact-address {
        text-align: center !important;
    }
    
    /* 7. Karte etwas Abstand nach oben */
    .location-map-wrapper {
        margin-top: 30px !important;
    }
}

/* =========================================================
   FEINTUNING: ANFAHRT & NOTFALL-BUTTON
   ========================================================= */

@media (max-width: 900px) {

    /* 1. Anfahrtstext soll Blocksatz bleiben */
    .location-text p {
        text-align: justify !important;
        hyphens: auto; /* Verhindert große Lücken im Blocksatz durch Silbentrennung */
    }

    /* 2. Telefon-Button im blauen Kasten "ent-quetschen" */
    .btn-emergency-call {
        /* Verhindert, dass Flexbox den Button zusammendrückt */
        flex-shrink: 0 !important; 
        
        /* Sicherstellen, dass die Maße bleiben */
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }
}

/* =========================================================
   KORREKTUR: KONTAKT-DETAILS & ADRESSE LINKSBÜNDIG
   ========================================================= */

@media (max-width: 900px) {
    
    /* 1. Die Boxen für "Erreichbarkeit" und "Kanzlei" */
    .detail-block {
        align-items: flex-start !important; /* Schiebt Flex-Inhalte nach links */
        text-align: left !important;        /* Schiebt Text nach links */
        width: 100%;                        /* Volle Breite nutzen */
    }

    /* 2. Die Überschriften darin (h3) */
    .detail-block h3 {
        text-align: left !important;
        width: 100%; /* Damit die Unterstreichung über die ganze Breite geht */
    }

    /* 3. Die Adresse selbst */
    .contact-address {
        text-align: left !important;
        display: block;
        width: 100%;
    }
}

/* =========================================================
   FEINTUNING STARTSEITE & LISTE (MOBILE)
   ========================================================= */

@media (max-width: 900px) {

    /* 1. Die Prozess-Überschriften (Rechtsanwalt, Akteneinsicht...) kleiner */
    .step-txt h3 {
        /* War global auf 1.3rem, hier reicht 1.1rem völlig aus */
        font-size: 1.1rem !important; 
        margin-bottom: 5px !important;
        line-height: 1.3;
    }

    /* Damit die Nummer (01, 02...) proportional dazu passt */
    .step-num {
        font-size: 2.2rem !important; /* Etwas kleiner als vorher */
    }

    /* 2. Rechtsgebiete-Liste: Bessere Trennung der Spalten */
    .legal-index-grid ul {
        /* Erhöht den Abstand zwischen den beiden Spalten */
        column-gap: 60px !important; 
        
        
        /* Sicherstellen, dass Text nicht an der Linie klebt */
        padding-left: 5px;
        padding-right: 5px;
    }
}