:root {

    /*  A&M STABTEST CI  */
     --primary: #19b9dc;
    --secondary: #5b656c;
    --accent: #fdc92f;
    --accent-hover: #e6b800;

    --background: #fcfcfc;
    --card: #fede82;

    --text: #1a1a1a;
    --text-header: #005e77;
    --text-light: #5b656c;

    --white: #ffffff;

    --shadow: rgba(253, 201, 47, 0.3);
    --shadow-card: rgb(230 183 43 / 0.5);
}

/* BASE RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HERO */

.hero {
    height: 320px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    color: var(--white);

    background: linear-gradient(
            rgba(25, 185, 220, 1),
            rgba(25, 185, 220, 80)
    ),
    url("static/hero.jpg");

    background-size: cover;
    background-position: center;
}


.logo {
    width: 140px;
    margin-bottom: 20px;
    /* filter: brightness(0) invert(1); */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* GRID */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 500px));
    justify-content: center;
    gap: 40px;
}

.events-grid > .event-card:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(500px, 100%);
}

/* CARD */

.event-card {
    background: var(--card);

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 10px 30px var(--shadow);

    display: flex;
    flex-direction: column;

    transition: 0.25s ease;

    border-bottom: 4px solid var(--shadow-card);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 154, 195, 0.25);
}

.event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.event-info {
    color: var(--secondary);
}

/* BUTTON */

.btn-link {
    display: inline-block;

    background: var(--primary);
    color: var(--white);

    padding: 10px 20px;
    border-radius: 6px;

    font-weight: 700;

    transition: 0.2s ease;
}

.btn-link:hover {
    background: #007da3;
}

/* FOOTER */

.footer {
    background: #19b9dc;
    color: white;
    padding: 60px 40px 20px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;

    text-align: left;
}

.footer-logo {
    width: 140px;
    display: block;
    margin: auto;
    /* filter: brightness(0) invert(1); */
}

.footer-contact {
    width: 320px;
    margin-left: auto;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-contact .footer-title {
    font-weight: 900;
    font-size: 24px;
}

.footer-contact h2 {
    font-size: 16px;
    font-weight: 700;
}

.footer-linkedin {
    display: inline-block;
    margin-top: 15px;
}

.footer-linkedin img {
    width: 64px;
    height: 64px;
    transition: 0.2s ease;
}

.footer-linkedin img:hover {
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-contact {
        width: 100%;
    }
}

/* ADDRESS LAYOUT */

.footer-address-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 10px;
}

.footer-address {
    min-width: 260px;
    font-size: 12px; /* vorher 15px */
    font-weight: 500;
    line-height: 1.7; /* Lesbarkeit */
}

.footer-title {
    font-weight: 800;
    font-size: 20px; /* Header */
    margin-bottom: 12px;
}

.footer-address p {
    margin: 4px 0;
    font-size: 12px;
}

/* BOTTOM BAR */

.footer-bottom {
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    opacity: 0.9;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom span {
    opacity: 0.6;
}

/* ----------------- WORKSHOP PAGE -------------- */

.page-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* LEFT SIDE */
.left-panel {
    flex: 1.2;
}

.right-panel {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid rgba(91, 101, 108, 0.1);
}

/* SECTION BOXES */
.section-box {
    margin-bottom: 35px;
}

.section-box h3 {
    color: var(--text-header);
    font-size: 1.4rem;
    margin-bottom: 12px;
}


/* TEXT */
.section-box p {
    color: var(--text-light);
    margin-top: 10px;
}

/* ADDRESS */
.address {
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(25, 185, 220, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text);
}

/* MAP */
iframe {
    width: 100%;
    height: 260px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
}

/* LISTS */
.section-box ul {
    list-style: none;
    padding-left: 0;
}

.section-box ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.section-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* MESSAGE BOX */

.message-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 18px 20px;
    margin: 20px 0;

    border-radius: 12px;

    background: rgba(25, 185, 220, 0.08);

    border-left: 5px solid var(--primary);

    box-shadow: 0 8px 24px rgba(25, 185, 220, 0.12);

    color: var(--text);

    transition: 0.25s ease;
}

.message-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(25, 185, 220, 0.18);
}

/* ICON */
.message-box-icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--primary);
    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.2rem;
    font-weight: 700;
}

/* CONTENT */
.message-box-content {
    flex: 1;
}

.message-box-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-header);

    margin-bottom: 6px;
}

.message-box-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* OPTIONAL LINK */
.message-box a {
    color: var(--primary);
    font-weight: 700;
    transition: 0.2s ease;
}

.message-box a:hover {
    color: var(--accent);
}

/* MESSAGE BOX CHANGES */

/* SUCCESS */
.message-box.success {
    background: rgba(25, 185, 220, 0.08);
    border-left-color: var(--primary);
}

/* WARNING */
.message-box.warning {
    background: rgba(253, 201, 47, 0.14);
    border-left-color: var(--accent);
}

.message-box.warning .message-box-icon {
    background: var(--accent);
    color: var(--text);
}

/* ERROR */
.message-box.error {
    background: rgba(220, 53, 69, 0.08);
    border-left-color: #dc3545;
}

.message-box.error .message-box-icon {
    background: #dc3545;
}

/* FORM */
.right-panel h3 {
    color: var(--text-header);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(91, 101, 108, 0.25);
    margin-bottom: 16px;
    font-size: 0.95rem;
    background: var(--white);
    transition: 0.2s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 185, 220, 0.15);
}

/* Checkbox */

.checkbox-group label {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 10px;

    align-items: start;

    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 12px;

    color: var(--text-light);
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
}

/* BUTTON */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

button[type="submit"]:hover {
    background: #007da3;
}

/* RESPONSIVE HANDY */

@media (max-width: 900px) {
    .page-wrapper {
        flex-direction: column;
    }

    .right-panel {
        width: 100%;
    }
}

/* EVENT HEADER TYPOGRAPHY */

.event-header {
    width: 100%;
}

/* Alle Überschriften innerhalb */
.event-header h1,
.event-header h2,
.event-header h3 {
    display: block;
    width: 100%;

    font-weight: 800;
    line-height: 1.2;

    margin-bottom: 14px;

    overflow-wrap: break-word;
    word-break: break-word;
}

/* H1 */
.event-header h1 {
    font-size: 2.4rem;
    color: var(--text-header);
}

/* H2 */
.event-header h2 {
    font-size: 1.6rem;
    color: var(--primary);
}

/* H3 */
.event-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f8fae;
}

/* Links */
.event-header h3 a {
    color: inherit;
    transition: 0.2s ease;
}

.event-header h3 a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .event-header h1 {
        font-size: 2rem;
    }

    .event-header h2 {
        font-size: 1.4rem;
    }

    .event-header h3 {
        font-size: 1.05rem;
    }
}

/* AGENDA AUFKLAPPBAR */

.agenda {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-style: italic;
}

.agenda-item {
    border: 1px solid rgba(91, 101, 108, 0.2);
    border-radius: 10px;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: 0.2s ease;
}

.agenda-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--text-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* remove default triangle */
.agenda-item summary::-webkit-details-marker {
    display: none;
}

/* time badge */
.agenda-time {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

/* hover effect */
.agenda-item summary:hover {
    background: rgba(25, 185, 220, 0.06);
}

/* opened state */
.agenda-item[open] {
    border-left: 4px solid var(--primary);
}

/* content */
.agenda-item ul {
    padding: 12px 18px 16px 34px;
    margin: 0;
    list-style: none;
}

.agenda-item ul li {
    margin-bottom: 8px;
    color: var(--text-light);
    position: relative;
    padding-left: 16px;
}

.agenda-item ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* AGENDA ENTRIES */

.agenda-day {
    padding: 10px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.agenda-entry {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: start;
}

.agenda-entry .time {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.agenda-entry .content {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* nested bullets */
.agenda-entry ul {
    margin-top: 6px;
    padding-left: 18px;
}

.agenda-entry ul li {
    margin-bottom: 6px;
}
/* LANDING PAGE INTRO */

.landing-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

.landing-intro p {
    margin-bottom: 12px;
}

.events-heading {
    text-align: center;
    font-size: 2rem;
    color: var(--text-header);
    margin-bottom: 32px;
}

/* REGISTRATION DEADLINE */

.registration-deadline {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    margin-top: -10px;
}

/* PHOTO NOTICE */

.photo-notice {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
}

/* EVENT CARD HEADER */

.event-card-heading {
    background: white;
    color: #1a3a5c; /* dunkles Blau wie im Screenshot */
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 16px;
    position: absolute;
    top: 0;
    right: 0;
}

.event-card {
    position: relative;
    /* restliche styles bleiben */
}

/* SCROLL BUTTON "REGISTER NOW" */
.scroll-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
}

.scroll-btn:hover {
    background: #007da3;
}

html {
    scroll-behavior: smooth;
}
 /* ABSTANDSHALTER - SIEHE REGISTRATION INTRO IN DER 07-08.10.26.HTML */

.registration-intro {
    margin-bottom: 1.2em;
}

/* REQUIRED FIELD MARKER */

.required-star {
    color: #dc3545;
    font-weight: 700;
}

.required-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 18px;
}

/* COOKIE BANNER */

.cookie-banner {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-box {
    width: min(520px, 92vw);
    background: var(--white);
    padding: 24px;
    border-radius: 14px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.cookie-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    background: var(--primary);
    color: white;
}