/* Sticky Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 25px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Logo + Überschrift nebeneinander */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo */
.logo {
    width: 70px;
    height: auto;
}

/* Überschrift im Header */
.header-title {
    font-size: 32px;          /* größer */
    font-weight: 800;         /* kräftiger */
    margin: 0;
    color: #333;
    letter-spacing: 1px;
}

/* Farbiger Akzent */
.header-title::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #ff6600, #ffcc00);
    margin-top: 4px;
    border-radius: 2px;
}


/* Moderne Navigation */
.nav-modern {
    display: flex;
    gap: 25px;
}

.nav-modern a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.25s;
}

.nav-modern a:hover {
    background: #eaeaea;
    color: #000;
}

/* Zwei-Spalten-Layout */
.content {
    display: flex;
    gap: 20px;
    margin: 30px;
}

/* Linke Spalte = 4/5 */
.left-column {
    flex: 4;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Rechte Spalte = 1/5 */
.right-column {
    flex: 2;
    background: #eaeaea;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}


/* Hover-Effekt für beide Spalten */
.left-column,
.right-column {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.left-column:hover,
.right-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* Container für Bild + überlagerte Überschrift */
.image-header {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

/* Bild in voller Spaltenbreite */
.header-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Überlagerte Überschrift */
.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);

    /* Schrift skaliert mit der Breite des Containers */
    font-size: clamp(1.4rem, 3vw, 3rem);
    padding: 0 5%;
    box-sizing: border-box;
    max-width: 90%;
    word-wrap: break-word;
    color: white;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
    text-align: center;
    letter-spacing: 1px;
}

/* Überschrift in linker Spalte */
.left-column h2 {
    margin-bottom: 12px;
}

/* Absätze in linker Spalte */
.left-text {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Container für drei Boxen nebeneinander */
.info-boxes {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 25px;
}

/* Jede Box bekommt gleiche Breite */
.info-box {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid #e5e5e5;
}

/* Überschrift */
.info-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0077cc;
    margin-bottom: 12px;
}

/* Text */
.info-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Bildreihe */
.info-images {
    display: flex;
    gap: 10px;
}

.info-images img {
    width: 33%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

/* Hover-Effekt (falls gewünscht) */
.info-images img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Responsive: untereinander bei kleinen Displays */
@media (max-width: 900px) {
    .info-boxes {
        flex-direction: column;
    }
}


/* Boxen in der rechten Spalte */
.info-box {
    background: #ffffff;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover-Effekt wie bei den Spalten */
.info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* Überschriften in den Boxen */
.info-box h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin: 8px 0;
    color: #555;
}

.contact-line .icon {
    font-size: 22px;
    width: 28px;
    text-align: center;
}


/* Text in den Boxen */
.info-box p {
    margin: 4px 0;
    line-height: 1.4;
}

.status-text {
    font-weight: bold;
    margin-bottom: 12px;
}

.status-open {
    color: #1a8f1a !important; /* Grün */
}

.status-closed {
    color: #c62828 !important; /* Rot */
}

/* Tabelle für Öffnungszeiten */
.opening-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Jede Zeile */
.opening-table .row {
    display: flex;
    justify-content: flex-start;
    gap: 20px; /* Abstand zwischen Tag und Zeit */
}

/* Linke Spalte: Wochentage */
.opening-table .day {
    width: 120px;       /* feste Breite für saubere Ausrichtung */
    font-weight: 600;
    text-align: left;
}

/* Rechte Spalte: Zeiten */
.opening-table .time {
    text-align: left;
}

.farewell {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin: 50px 0 30px 0;
    color: #333;
    letter-spacing: 0.5px;
}

/* Kontaktformular */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Gesamter Formularblock */
.contact-form {
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid #e5e5e5;
}

/* Überschrift */
.contact-form h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

/* Labels */
.contact-form label {
    display: block;
    margin-top: 18px;
    font-size: 1.3rem;   /* ca. 19px */
    font-weight: 600;
    color: #444;
}

/* Pflichtfeldstern */
.required {
    color: #d60000;
    font-weight: bold;
}

/* Eingabefelder */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.25s ease;
}

/* Fokus-Effekt */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0077cc;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,119,204,0.3);
    outline: none;
}

/* Textarea */
.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Absenden-Button */
.contact-form button {
    margin-top: 10px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #0077cc, #0099ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

/* Fehlerhafte Felder rot markieren */
.input-error {
    border-color: #c62828 !important;
    background: #ffecec;
    animation: shake 0.15s linear;
}

/* Shake-Animation: kleines "Shake" für bessere Wahrnehmung */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.35s ease;
}


/* Hover-Effekt */
.contact-form button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #005fa3, #0088e6);
}

/* Fehlermeldungen */
.error-message {
    color: #c62828;
    font-size: 18px;
    margin-top: 10px;
    height: 18px;
}

/* Erfolgsmeldung */
.success-message {
    margin-top: 20px;
    padding: 12px;
    background: #e8f8e8;
    border-left: 5px solid #1a8f1a;
    color: #1a8f1a;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
}

/* Captcha-Überschrift größer */
label[for="captcha_input"] {
    font-size: 22px;
    font-weight: 700;
}

/* Gesamte Captcha-Zeile größer */
.captcha-line {
    font-size: 20px;        /* gesamte Zeile größer */
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 8px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon-Stil */
/* .captcha-icon { */
/*     font-size: 24px; */
/*     color: #0078ff; */
    /* display: inline-block; */
/*     animation: captchaGlow 2s ease-in-out infinite; */
/* }

/* @keyframes captchaGlow { */
/*     0% { text-shadow: 0 0 0px rgba(0,120,255,0.0); } */
/*     50% { text-shadow: 0 0 20px rgba(0,120,255,0.6); } */
/*     100% { text-shadow: 0 0 0px rgba(0,120,255,0.0); } */
/* } */

/* Icon im Captcha-Eingabefeld */
.captcha-input-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23e63946" viewBox="0 0 24 24"><path d="M12 1a5 5 0 00-5 5v3H6a2 2 0 00-2 2v9a2 2 0 002 2h12a2 2 0 002-2v-9a2 2 0 00-2-2h-1V6a5 5 0 00-5-5zm-3 8V6a3 3 0 016 0v3H9zm3 4a2 2 0 110 4 2 2 0 010-4z"/></svg>');
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 12px center;
    padding-left: 48px;
    font-size: 20px;
    animation: captchaGlowRed 4s ease-in-out infinite;
}

/* Rötlicher Glow-Effekt */
@keyframes captchaGlowRed {
    0%   { filter: drop-shadow(0 0 0px rgba(230,57,70,0)); }
    50%  { filter: drop-shadow(0 0 5px rgba(230,57,70,0.7)); }
    100% { filter: drop-shadow(0 0 0px rgba(230,57,70,0)); }
}



/* Matheaufgabe noch etwas größer hervorheben */
#captchaText {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

/* Captcha-Eingabefeld größer */
#captcha_input {
    font-size: 20px;
    padding: 14px 16px;
}

/* Datenschutzerklärung - gesamter Bereich */
.privacy-wrapper {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    border: 1px solid #e6e6e6;
}

/* Header */
.privacy-header {
    text-align: center;
    margin-bottom: 40px;
}

.privacy-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.privacy-subtitle {
    font-size: 18px;
    color: #666;
    letter-spacing: 0.5px;
}

/* Abschnittsüberschriften */
.privacy-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0077cc;
    margin-top: 35px;
    margin-bottom: 12px;
    border-left: 5px solid #0077cc;
    padding-left: 12px;
}

/* Text */
.privacy-wrapper p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

/* Listen */
.privacy-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-wrapper li {
    font-size: 17px;
    color: #444;
    margin-bottom: 6px;
}

/* Abschnittstrennung */
.privacy-wrapper section {
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.privacy-wrapper section:last-child {
    border-bottom: none;
}

.impressum-box {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid #e5e5e5;
}

/* Hauptüberschrift */
.impressum-box h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #222;
}

/* Abschnittsüberschriften */
.impressum-box h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0077cc;
    margin-top: 30px;
    margin-bottom: 10px;
    border-left: 5px solid #0077cc;
    padding-left: 12px;
}

/* Fließtext */
.imp-text {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

/* Abstand zwischen Blöcken */
.imp-block {
    margin-bottom: 20px;
}


