/* 1) zuerst die gesamte Programmierung, die ausschließlich ALLE vier HTML Dateien betrifft und zwar in der Reihenfolge als ob man die HTML Seiten von oben nach unten liest */

/*
    ABACUS Website Stylesheet
    ----------------------------------------
    Diese Datei steuert das komplette Layout aller HTML-Seiten.
    Alle Farben, Abstände und Schriftgrößen sind zentral definiert,
    damit spätere Änderungen einfach in Dreamweaver gepflegt werden können.
*/

:root {
	--dunkel-8: #012242; /*text: nachblau ... ganz dunkles blau*/
    --dunkel-7: #012c55; /*      dunkelblau*/
	--dunkel-6: #00488e; /*primary-dark *dunkelbau* aus Abacus Logo*/
	--dunkel-4: #3f6fa8; /*primary: *mitteblau*/
	--dunkel-2: #5b6472; /*muted: blaugrau mittel *//
	--dunkel-1: #7fa0cf; /*      Mittelblau, hell, Abacus Logo*/
	--dunkel-1-rgb: 127, 160, 207;
	--dunkel-0: #99b8e4;
	--dunkel-0-rgb: 153, 184, 228;
	
	--hell-9: #f1d555; /*accent: Gelb */
	--hell-9-rgb: 241, 213, 85;
    --hell-8: #ebd978; /*        gelb*/
	--hell-7: #e8dc8d; /*        gelb*/
	--hell-6: #e4dfa8; /*        gelb*/
	--hell-5: #dfe3ce; /*accent-soft: hellgelb*/	
	--hell-4: #e1e6ec;  /*line: weiß gebrochen grau*/
	--hell-2: #eef3f8; /*primary-soft: gebrochen weiß*/
	--hell-1: #ffffff;  /*--white: #ffffff;*/
		
	--text: #012242; /* nachblau ... ganz dunkles blau*/
    --primary-dark: #00488e; /*dunkelbau*/
	--primary: #3f6fa8; /*mitteblau*/
    --muted: #5b6472; /* blaugrau mittel */

	--accent: #f1d555;      /*accent: Gelb */
	--accent-soft: #dfe3ce; /*accent-soft: hellgelb*/
	
	
	--line: #e1e6ec;  /*weiß gebrochen grau*/
	--primary-soft: #eef3f8; /*gebrochen weiß*/
    --white: #ffffff;        /*weiß*/
    
    --line: #e1e6ec; /* weiß gebrochen grau*/
    --bg: #f8f7f2; /* weiß ein bisschen ins gelbliche*/
    --shadow: 0 16px 40px rgba(47, 87, 134, 0.12);
    --radius: 20px;
    --radius-small: 12px;
    --max-width: 1240px;
    --font-arial: Arial, "Arial Nova", Tahoma;
    --font-serif: Arial, "Arial Nova", Tahoma;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-arial);
    color: var(--dunkel-8);
	font-size: 1.05rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f2e8 50%, #e8eef5 100%);
    line-height: 1.6;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--dunkel-7);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

#impressum {
    scroll-margin-top: 120px;
}  /*lässt nach oben einen Abstand, so dass das Wort Impressum lesbar ist */

.container {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 76px 0;
}

.section-tight {
    padding: 52px 0;
}

.bg-white {
    background: var(--hell-1);
}

.bg-soft {
    background: var(--hell-2);
}

.text-center {
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(var(--hell-9-rgb), 0.6);
    color: var(--dunkel-8);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.eyebrow-1{
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(var(--dunkel-1-rgb), 0.6);
    color: var(--hell-1);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    color: var(--dunkel-7);
    font-family: var(--font-arial);
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--dunkel-8);
}





/*ab hier Header für alle Seiten */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94); /*background, weiß, 94 % Deckkraft*/
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 79, 160, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-image {
    width: 320px;
    height: auto;
}

.logo-tagline {
    display: none;
    color: var(--dunkel-7);
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--dunkel-7);
    font-weight: 700;
    font-size: 1.1rem;
}

/* kann sehr wahrscheinlich raus, da niergends mehr verwendet
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 999px;
    box-shadow: var(--shadow);
} */
/* hier ist header für Alle zu Ende*/





/* ab hier die Boxen, die sich auf mehreren Seiten befinden, 2 oder 3 oder 4 nebeneinander */


.grid-3,
.grid-2,
.grid-4 {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {        /*hat weißen Hintergrund*/
    height: 100%;
    padding: 28px;
    background: var(--hell-1);
    border: 1px solid var(--hell-4);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(15, 79, 160, 0.06);
}

.card h3,
.card h4 {
    margin: 0 0 14px;
    color: var(--dunkel-6);
    font-size: 1.35rem;
}

.card p {
    margin: 0 0 14px;
    color: var(--dunkel-8);
    font-size: 1.05rem;
}


.card p:last-child,
.card ul:last-child {
    margin-bottom: 0;
}

.highlight-card {   /*hat dunklem Hintergrund*/
    background: linear-gradient(135deg, var(--dunkel-7), var(--dunkel-4));
    color: var(--hell-1);
    border: none;
}

.highlight-card h3,
.highlight-card h4,
.highlight-card p,
.highlight-card li {
    color: var(--hell-1);
}

.check-list,
.contact-list,
.legal-list {
    margin: 0;
    padding: 0;
    list-style: none;
	color: var(--dunkel-8);
	font-size: 1.05rem;
}

.check-list li,
.contact-list li,
.legal-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
	color: var(--dunkel-8);
	font-size: 1.05rem;
}

.check-list li::before,
.contact-list li::before,
.legal-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--dunkel-8);
	font-size: 1.05rem;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
	color: var(--hell-1);
	font-size: 1.05rem;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
	color: var(--hell-1);
	font-size: 1.05rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hell-1);
	font-size: 1.05rem;
}

/* eingefügt 6.4.2026, damit die Häckchen weiß werden */
/* WICHTIG: MUSS NACH der Standard-Regel stehen */
.highlight-card .feature-list li::before {
    color: var(--hell-1);
}
/* Ende für die Boxen, die sich auf mehreren Seiten befinden, 2 oder 3 oder 4 nebeneinander */





/* ab hier der Footer, der sich auf allen Seiten befindet */
.site-footer {
    padding: 26px 0;
    background: linear-gradient(135deg, var(--dunkel-7), var(--dunkel-4));
    color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
}

.small-text {
    font-size: 0.92rem;
    color: var(--dunkel-2);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1080px) {
    .hero-grid,
    .split-layout,
    .contact-grid,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .main-nav ul {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .header-inner {
        align-items: flex-start;
        padding: 14px 0;
    }
}

@media (max-width: 780px) {
    .section,
    .hero,
    .page-banner {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .header-inner,
    .main-nav ul,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .header-inner {
        display: block;
    }

    .logo-wrap {
        margin-bottom: 16px;
    }

    .main-nav ul {
        display: grid;
        justify-content: stretch;
    }

    .main-nav a,
    .nav-cta {
        display: block;
        width: 100%;
        text-align: center;
    }

    .logo-image {
        width: 190px;
    }

    .hero-copy h1,
    .section-title,
    .page-banner h1 {
        hyphens: auto;
		font-size: clamp(2.3rem, 4vw, 4rem);
		color: var(--dunkel-7);
        line-height: 1.05;
    }

.media-card {
        min-height: 420px;
    }

 
	
.slide-media {
    height: 260px;
}

.slider-track {
    min-height: 620px;
}
	
}










/* 2) dann die gesamte Programmierung, die ausschließlich Kontakt/impressum, die Lehrer und die Schüler/Eltern HTML Dateien betrifft und zwar in der Reihenfolge als ob man die HTML Seiten von oben nach unten liest */


/* ab hier Banner auf Elternseite, Lehrerseite, Kontaktseite */
.page-banner {
    padding: 68px 0 34px;
    background: linear-gradient(135deg, var(--dunkel-7), var(--dunkel-4));
	/* alt   linear-gradient(135deg, rgba(15,79,160,0.95), rgba(23,103,192,0.88));*/
    color: var(--hell-1);
}

.page-banner h1 {
    margin: 0 0 12px;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.05;
    font-family: var(--font-arial);
}

.page-banner p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}
/* Ende des Banner auf Elternseite, Lehrerseite, Kontaktseite */





/* Split Boxen */

.split-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: stretch;
}





/* Ab hier Bildwechsler Elternseite und Lehrerseite */

.slider-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--hell-1);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.slider-track {
    position: relative;
    min-height: 590px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

.slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-media {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: var(--hell-1); 
	/* geändert 12.4.2026 linear-gradient(135deg, rgba(15,79,160,0.12), rgba(241,194,50,0.18));*/
}

.slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.slide-content {
    padding: 28px;
}

.slide-content h3 {
    margin: 0 0 12px;
    color: var(--dunkel-6);
    font-size: 1.8rem;
}

.slide-content p {
    margin: 0 0 16px;
    color: var(--dunkel-8);
	font-size: 1.05rem;
}

.slider-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.slider-button {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dunkel-7), var(--dunkel-4));
    color: var(--hell-1);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.slider-dots {
    position: absolute;
    left: 28px;
    bottom: 28px;
    display: flex;
    gap: 10px;
	z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(var(--dunkel-1-rgb),0.7);
    cursor: pointer;
}

.slider-dot.is-active {
    background: rgba(var(--hell-9-rgb),0.7);
}
/* Ende des Bildwechslers */





/* Auf Indexseite und auf ... */

.placeholder-note {
    display: block;
    margin-top: 18px;
    padding: 22px 26px;
    background: rgba(var(--dunkel-0-rgb), 0.2);
    color: var(--dunkel-6);
    border-radius: 28px;
    font-size: 1.05rem;
    max-width: 760px;
}
/* Ende */

 



/* Befindet sich nur auf Kontaktseite */
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
}

.contact-card {
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(15, 79, 160, 0.06);
}

.contact-card h2,
.contact-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.contact-card code {
    display: inline-block;
    padding: 6px 8px;
    background: #eff5fb;
    border-radius: 8px;
}

.notice-box {
    padding: 20px 22px;
    border-radius: 16px;
    background: rgba(var(--hell-9-rgb), 0.15);
    border: 1px solid rgba(var(--hell-9-rgb), 0.35);
}

.notice-box strong {
    color: var(--dunkel-7);
}










/* 3) zuletzt die gesamte Programmierung, die ausschließlich die Index HTML Datei betrifft und zwar in der Reihenfolge als ob man die HTML Seiten von oben nach unten liest */

/* Ab hier Obere Section nur Index.html */
.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 70px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(15, 79, 160, 0.14), transparent 36%),
                radial-gradient(circle at bottom left, rgba(241, 194, 50, 0.18), transparent 28%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.98;
    color: var(--dunkel-7);
    font-family: var(--font-arial);
}
.hero-copy p {
    margin: 0 0 22px 28px;
    font-size: 1.05rem;
    color: var(--dunkel-8);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: 0.2s ease;
}

.button:hover,
.button:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--dunkel-7), var(--dunkel-4));
    color: var(--hell-1);
    box-shadow: var(--shadow);
}

.button-secondary {
    border-color: rgba(15, 79, 160, 0.22);
    color: var(--dunkel-1);
    background: var(--hell-1);
}

.contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-chip {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--hell-1);
    border: 1px solid var(--line);
    font-size: 1.3rem;
	font-weight: 700;
    color: var(--dunkel-7);
}

/* ab hier Video eingefügt 12.4.2026 */
.hero-media {
    position: relative;
}

.hero-media {
    align-self: start;
}

.hero-video-card {
    border-radius: 28px;
    overflow: hidden;
    background: var(--hell-1);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-video-frame {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15,79,160,0.12), rgba(241,194,50,0.18));
}

.hero-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-bottom {
    min-height: 450px; /* Höhensteuerung der Box nach unten */
    background: var(--hell-1);
    padding: 28px;
    display: flex;
    align-items: center;      /* gesamter Inhaltsblock vertikal mittig */
    justify-content: flex-start;
}

.hero-video-bottom-content {
    display: flex;
    flex-direction: column;   /* Bild, Text, Link untereinander */
    align-items: flex-start;  /* alles linksbündig */
    justify-content: center;
    gap: 18px;
    width: 100%;
}

.hero-video-bottom-image {
    display: block;
    max-width: 100%;
    width: 400px;             /* bei Bedarf anpassen */
    height: auto;
}

.hero-video-bottom-text {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dunkel-8);
}

.hero-video-link {
    display: inline-block;
    color: var(--dunkel-7);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.hero-video-link:hover,
.hero-video-link:focus {
    text-decoration: underline;
}








/* hier ist Obere Sektion auf Indexseite zu Ende */





.media-card {
    position: relative;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(160deg, #dce8f7 0%, #fefefe 100%);
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 79, 160, 0.1);
}

.media-card img,
.media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    inset: auto 24px 24px 24px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(8, 45, 96, 0.85), rgba(15, 79, 160, 0.78));
    color: var(--hell-1);
}

.media-overlay h2,
.media-overlay h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-family: var(--font-arial);
}

.media-overlay p {
    margin: 0;
    font-size: 1rem;
}

.info-panel {
    padding: 36px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15,79,160,0.06), rgba(15,79,160,0.01));
    border: 1px solid rgba(15, 79, 160, 0.12);
}

.info-panel h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--dunkel-6);
    font-size: 1.7rem;
}
.info-panel p {
    font-size: 1.05rem;
    color: var(--dunkel-8);
}


.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stat-box {
    padding: 24px 20px;
    border-radius: 18px;
    background: var(--hell-1);
    border: 1px solid var(--line);
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 2rem;
    color: var(--dunkel-6);
    font-family: var(--font-arial);
}

.stat-box span {
    color: var(--dunkel-8);
    font-size: 1.05rem;
}

.quote-box {
    padding: 28px;
    border-left: 6px solid rgba(var(--hell-9-rgb), 0.6);
    background: var(--hell-1);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: 0 10px 30px rgba(15, 79, 160, 0.06);
}

.quote-box p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--dunkel-6);
    font-family: var(--font-arial);
}

.seo-box {
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(var(--hell-9-rgb), 0.15);
    border: 1px solid rgba(var(--hell-9-rgb), 0.35);
}

.seo-box h3 {
	color: var(--dunkel-6);
    font-size: 1.7rem;
}
.seo-box p {
	color: var(--dunkel-8);
    font-size: 1.05rem;
}

.seo-box-small {
	color: var(--dunkel-8);
    font-size: 0.9rem;
}