/* Optimiertes CSS für mobile Darstellung */ body {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

/* Navigationsleiste oben - Hamburger-Menü für mobile Ansicht */ .sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #841620;
    color: white;
    z-index: 1000;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Hamburger-Menü - nur auf mobilen Geräten sichtbar */ .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
}

.nav-menu {
    display: flex;
    gap: 15px;
}

/* Verstecke Navigationslinks auf kleineren Bildschirmen */ @media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #841620;
        padding: 10px;
    }

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

    .hamburger {
        display: flex;
    }
}

.sticky-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
}

.sticky-nav a:hover {
    background-color: #5c0e14;
}

.sticky-nav .phone-number {
    background-color: white;
    color: #841620;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

/* Header-Bereich anpassen */
header {
    background-color: #f7f7f7;
    padding: 20px;
    text-align: center;
    background-image: url('https://decker-kollegen.de/images/Logo_Decker_Schad%20_Kollegen.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 250px;
    margin-top: 80px;
}

@media (max-width: 768px) {
    header {
        background-image: url('https://decker-kollegen.de/images/Logo_Decker_Schad%20_Kollegen_mobil.jpg');
        height: 200px;
    }
}

/* Content-Bereich einschränken */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.no-style-link {
    color: black; /* Schwarz */
    font-weight: bold; /* Fett */
    text-decoration: none; /* Keine Unterstreichung */
}
.no-style-link:hover {
    color: #B22222; /* Rotton der Kanzlei */
}

.red-bold-link {
    color: #841620; /* Kanzlei-Rot */
    font-weight: bold;
    text-decoration: none;
}

.red-bold-link:hover {
    color: #5c0e14; /* Dunkleres Rot für Hover */
}

/* Anwälte-Sektion flexibler gestalten */ .lawyer-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: nowrap;
}

.lawyer-section img {
    max-width: 200px;
    height: auto;
    margin-right: 20px;
    border-radius: 5px;
    align-self: flex-start;
}

.lawyer-section .content {
    max-width: 600px;
    align-self: flex-start;
}

.lawyer-section .content h3 {
    margin-top: 0;
    margin-bottom: 0.2em;
}

.lawyer-section ul {
    padding-left: 20px;
    list-style-position: inside;
    text-align: left;
}

.intro-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: nowrap; /* Wichtig für Desktop */
}

.intro-section img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
    flex-shrink: 0;
}

.intro-section > div {
    flex: 1;
    min-width: 0;
}


.intro-section h1 {
    margin-top: 0;
    font-size: 28px;
}

@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro-section img {
        margin-bottom: 20px;
    }
}


/* Stil für den SEO-Textbereich */
.seo-section {
    background-color: #f9f9f9; /* Dezente Hintergrundfarbe */
    padding: 20px;
    margin: 40px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.seo-section h2 {
    font-size: 24px;
    color: #841620; /* Primärfarbe der Kanzlei */
    margin-bottom: 15px;
    text-align: center;
}

.seo-section h3 {
    font-size: 20px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.seo-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.seo-section p strong {
    color: #841620;
}

/* Kontaktbereich - Flexibles Layout */
.contact-section {
    background-color: #f0f0f0;
    padding: 20px;
    margin: 20px auto;
    width: 800px;
    border-radius: 10px;
}

.contact-phone a {
    font-weight: bold;
    color: black !important;
    text-decoration: none !important;
}

.contact-section a.contact-email {
    color: black !important;
    text-decoration: none !important;
}

.contact-phone a:hover,
.contact-email a:hover {
    text-decoration: underline;
}

/* Optimierungen für Footer */
footer {
    background-color: #5c0e14;
    color: white;
    padding: 20px;
    text-align: center;
}

footer p.copyright {
    color: #ccc;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    color: #ddd;
}

.h2-no-style {
    color: inherit; /* Nutzt die Standardfarbe von H2 */
    font-weight: inherit; /* Erbt das Fett von H2 */
    text-decoration: none; /* Entfernt die Unterstreichung */
}


/* Gestaltung der Links als hervorgehobene Felder */ .highlighted-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #841620;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
}

.highlighted-link:hover {
    background-color: #5c0e14;
}

/* Anpassung der Schriftgröße für alle Überschriften */ h1, h2 {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

h3 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px; /* Zeilenabstand zwischen Namen und Titel verringert */ }

.lawyer-title {
    margin-top: 0;
    margin-bottom: 10px;
}

p {
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: #333;
}

/* Symbole für Telefon, E-Mail und Impressum */ .fixed-icons {
    position: fixed;
    right: 10px;
    top: 150px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fixed-icons a {
    display: block;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    background-color: #841620;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 30px;
    text-decoration: none;
}

.fixed-icons a:hover {
    background-color: #5c0e14;
}

.fixed-icons a i {
	color: white;
    font-size: 20px;
    line-height: 50px;
}

/* Responsive Styles für kleinere Geräte */ @media (max-width: 768px) {
    .content {
        width: 90%;
        text-align: center;
    }

    .lawyer-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lawyer-section img {
        margin: 0 0 20px 0;
        max-width: 100%;
        text-align: center;
    }

    .contact-section {
        width: 90%;
    }

    .fixed-icons {
        position: fixed;
        right: 10px;
        top: 150px;
        flex-direction: column;
        align-items: flex-end;
    }

.fixed-icons a[href*="impressum"] {
    display: none;
}

    .fixed-icons a {
        margin-bottom: 15px;
    }
}

.hidden-text {
    display: none;
}

#cookie-banner {
    display: none; 
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #222; /* Dunkleres Grau für eleganten Look */
    color: #f1f1f1; /* Heller Text für besseren Kontrast */
    padding: 20px;
    z-index: 9999;
    text-align: center;
    font-family: Arial, sans-serif; /* Optionale Schriftanpassung */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2); /* Schatten für Tiefe */
}

#cookie-banner p {
    font-size: 16px; /* Größere Schrift für bessere Lesbarkeit */
    line-height: 1.6;
    margin-bottom: 20px; /* Mehr Abstand zwischen Text und Buttons */
}

#cookie-banner button {
    padding: 12px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px; /* Leicht größere Schrift */
    border-radius: 5px; /* Abgerundete Kanten */
}

#cookie-banner button:hover {
    opacity: 0.9;
}

#accept-all {
    background-color: #28a745; /* Grüne Akzeptieren-Schaltfläche */
    color: white;
}

#accept-essential {
    background-color: #007bff; /* Blaue Schaltfläche für essentielle Cookies */
    color: white;
}

#cookie-settings {
    background-color: #6c757d; /* Graue Schaltfläche für Cookie-Einstellungen */
    color: white;
}

#cookie-banner button:focus {
    outline: none; /* Entfernt die standardmäßige Fokuskontur */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Leichte Kontur bei Fokus */
}

/* Responsive Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 15px;
    }

    #cookie-banner p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    #cookie-banner button {
        padding: 10px 15px;
        font-size: 12px;
    }
}

.lawyer-section h3 a {
    color: inherit; /* Erbt die Farbe von h3 */
    font-weight: inherit; /* Erbt die Schriftstärke von h3 */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

img[src*="ra_decker.jpg"] {
    filter: grayscale(100%);
}


.impressum {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.no-link {
    color: inherit;
	font-weight: inherit;
    text-decoration: none;
    cursor: default;
}

.custom-button {
    display: inline-block;
    padding: 10px 20px; /* Abstand innen */
    margin-top: 10px; /* Abstand zum oberen Text */
    background-color: #007bff; /* Hintergrundfarbe des Buttons */
    color: #ffffff; /* Textfarbe */
    text-decoration: none; /* Entfernt die Unterstreichung */
    font-weight: bold; /* Fettschrift */
    border-radius: 5px; /* Abgerundete Ecken */
    border: none; /* Keine Rahmenlinie */
    cursor: pointer; /* Mauszeiger als Hand-Symbol */
    font-size: 16px; /* Schriftgröße */
    text-align: center;
    transition: background-color 0.3s ease; /* Effekt bei Hover */
}

.custom-button:hover {
    background-color: #0056b3; /* Hintergrundfarbe beim Hover */
}

.scroll-to-top {
    position: fixed;
    bottom: 20px; /* Abstand vom unteren Rand */
    right: 50%; /* Zentrierung */
    transform: translateX(50%); /* Exakte Zentrierung */
    display: none; /* Standardmäßig ausgeblendet */
    background-color: #841620; /* Hintergrundfarbe */
    color: white; /* Pfeilfarbe */
    font-size: 24px; /* Größe des Pfeils */
    padding: 10px 15px; /* Abstand innen */
    border-radius: 50%; /* Runde Form */
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Schatten für Tiefe */
    z-index: 1000; /* Über anderen Elementen */
    cursor: pointer;
    transition: opacity 0.3s ease; /* Weicher Effekt */
}

.scroll-to-top:hover {
    background-color: #5c0e14; /* Dunklere Farbe bei Hover */
}

.scroll-to-top.show {
    display: block; /* Sichtbar, wenn aktiv */
}

#contact-advice {
    font-size: 18px;
    line-height: 1.5;
}

#contact-advice a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
}

#contact-advice a:hover {
    text-decoration: underline;
    color: #841620;
}

#contact-advice h3 {
    font-size: inherit; /* Gleiche Schriftgröße wie der umgebende Text */
    line-height: inherit; /* Gleiche Zeilenhöhe wie der umgebende Text */
    font-weight: normal; /* Kein Fettdruck */
    margin: 0.5em 0; /* Optionale Abstände */
}

.seo-intro {
    background-color: #f7f7f7;
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 0 20px 0;
}


@media (max-width: 768px) {
    .seo-intro {
        font-size: 17px;
        padding: 20px 10px;
        margin-top: 100px;
    }
}
