/*
Theme Name: Perau Sommer 2026
Description: Temporäre Sommerseite für das Peraugymnasium Villach.
Version: 1.0
Text Domain: perau-sommer
*/

:root {
    --navy: #102b4e;
    --blue: #176bb5;
    --yellow: #f7c846;
    --paper: #ffffff;
    --soft: #f1f6fb;
    --ink: #17212d;
    --muted: #5b6876;
    --line: #dbe5ef;
    --shadow: 0 18px 48px rgba(16, 43, 78, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--soft);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-shell {
    overflow: hidden;
}

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    background: var(--navy);
    color: white;
}

.topbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .02em;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--yellow);
    color: var(--navy);
    font-size: 21px;
}

.brand small {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.topbar-note {
    color: rgba(255,255,255,.82);
    font-size: .92rem;
}

.hero {
    position: relative;
    isolation: isolate;
    padding: 88px 0 74px;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 85% 15%, rgba(247, 200, 70, .28), transparent 23rem),
        linear-gradient(135deg, #0d2747, #176bb5);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -45%;
    opacity: .12;
    background: repeating-linear-gradient(
        -45deg,
        #ffffff 0,
        #ffffff 18px,
        transparent 18px,
        transparent 38px
    );
    transform: rotate(-8deg);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--yellow);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.75rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-text {
    max-width: 660px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(1.03rem, 2vw, 1.22rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: white;
    font-weight: 700;
}

.main-content {
    padding: 48px 0 72px;
}

.section-heading {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: 1.45rem;
    letter-spacing: -.02em;
}

.quicklinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 54px;
}

.quicklink {
    min-height: 145px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 8px 24px rgba(16, 43, 78, .05);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.quicklink:hover,
.quicklink:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.quicklink-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 12px;
    background: #e7f1fb;
    color: var(--blue);
    font-size: 21px;
}


.quicklink-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.quicklink strong,
.quicklink small {
    display: block;
}

.quicklink strong {
    color: var(--navy);
    font-size: 1.08rem;
}

.quicklink small {
    margin-top: 2px;
    color: var(--muted);
}

.info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
    gap: 24px;
    align-items: start;
}

.card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: 0 8px 24px rgba(16, 43, 78, .05);
}

.card h2 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: 1.35rem;
    letter-spacing: -.02em;
}

.hours {
    display: grid;
    gap: 17px;
}

.hours-item {
    padding-left: 17px;
    border-left: 4px solid var(--yellow);
}

.hours-item strong,
.hours-item span {
    display: block;
}

.hours-item strong {
    color: var(--navy);
}

.hours-item span {
    color: var(--muted);
}

.contact-card {
    color: white;
    border: 0;
    background: var(--navy);
}

.contact-card h2 {
    color: white;
}

.contact-intro {
    margin: -4px 0 24px;
    color: rgba(255,255,255,.76);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 13px;
    background: rgba(255,255,255,.1);
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.contact-link:hover,
.contact-link:focus-visible {
    background: rgba(255,255,255,.18);
}

.contact-icon {
    width: 30px;
    color: var(--yellow);
    text-align: center;
    font-size: 1.25rem;
}

.footer {
    padding: 28px 0;
    color: rgba(255,255,255,.72);
    background: #08192e;
    font-size: .9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer a {
    color: white;
    text-decoration: none;
}

@media (max-width: 760px) {
    .wrap {
        width: min(100% - 30px, 1120px);
    }

    .topbar-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .topbar-inner {
        padding: 16px 0;
    }

    .hero {
        padding: 62px 0 58px;
    }

    .quicklinks,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding-top: 32px;
    }

    .card {
        padding: 24px;
    }
}
