/* Allgemeine Stile */
body {
    background-color: #ffffff; /* Hintergrundfarbe weiß */
    font-family: 'Inter', sans-serif;
}

/* Banner-Stile */
.header-banner {
    position: relative;
    background: url('../images/dwall2c.png') center center no-repeat;
    background-size: cover;
    min-height: 500px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
}

/* Schräger Abschnitt unten (mit SVG-Teiler) */
.header-banner::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Überlappung vermeiden */
    left: 0;
    width: 100%;
    height: 100px; /* Höhe des Schrägschnitts */
    background-color: #ffffff;
    /* Verwenden Sie clip-path für eine schräge Kante */
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
    /* Alternative: Skew, aber clip-path ist sauberer und responsiver */
}

/* Korrektur für den Schrägschnitt-Effekt:
   Wir verwenden ein Pseudo-Element, das den Schrägschnitt darstellt
   und den Inhalt darunter schiebt. */
.slanted-divider {
    position: absolute;
    bottom: -1px; /* Muss -1 sein, damit es keine Lücken gibt */
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white; /* Farbe des folgenden Blocks */
    /* Erzeugt eine schräge Linie, die nach unten rechts verläuft */
    transform: skewY(-2.5deg); /* Stark genug, um sichtbar zu sein */
    transform-origin: 0% 100%;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Navigationsleiste innerhalb des Banners */
.navbar-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparenter Hintergrund */
    border-radius: 10px;
    padding: 1rem;
    z-index: 20;
}

/* Parallax-Stile */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden; /* Für abgerundete Ecken */
}

.parallax-1 {
    background-image: url('../images/doulouswall.png');
}

.parallax-2 {
    background-image: url('../images/dwall1.png');
}

.parallax-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 10px;
}

/* Card und Akkordeon Styling */
.card, .accordion-item {
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    border-radius: 10px 10px 0 0;
}
.footer a {
    color: #adb5bd;
    text-decoration: none;
}
.footer a:hover {
    color: #ffffff;
}/* hompagetext */

.tooltip-word {
    position: relative;
    cursor: help;
    color: #3498db;
}

.tooltip-word:hover::after,
.tooltip-word:focus::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #34495e;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 8px;
    max-width: 400px;
    width: max-content;
    white-space: normal;
    text-align: left;
    line-height: 1;
    font-size: 0.6em;
}

.tooltip-word:hover::before,
.tooltip-word:focus::before {
    content: '';
    position: absolute;
    bottom: 90%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #34495e;
    z-index: 1001;
}