/*
Theme Name: Atteltaler Grafing
Theme URI: https://atteltaler-grafing.de
Description: Child-Theme für GTEV Atteltaler Grafing – mit Shortcodes für alle Seiten, bearbeitbar per Thrive Architect
Author: GTEV Atteltaler Grafing
Author URI: https://atteltaler-grafing.de
Template: twentytwentyfour
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: atteltaler
*/

/* ============================================================
   GLOBALE FARBEN & SCHRIFTEN
   ============================================================ */
:root {
    --primary-green: #2d5016;
    --accent-gold:   #c4a053;
    --cream:         #f5f1e8;
    --white:         #ffffff;
    --dark-text:     #1a1a1a;
    --gray:          #666666;
    --light-border:  rgba(196, 160, 83, 0.2);
}

/* Google Fonts werden in functions.php eingebunden */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    background: var(--cream);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.att-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--accent-gold);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.att-nav .att-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.att-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}
.att-nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0; padding: 0;
}
.att-nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}
.att-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s;
}
.att-nav-links a:hover,
.att-nav-links a.active { color: var(--primary-green); }
.att-nav-links a:hover::after,
.att-nav-links a.active::after { width: 100%; }

/* Hamburger Mobile */
.att-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.att-hamburger span {
    width: 24px; height: 2px;
    background: var(--dark-text);
    transition: all 0.3s;
}
.att-mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    padding: 1rem 2rem;
    border-top: 1px solid var(--light-border);
}
.att-mobile-menu a {
    padding: 0.7rem 0;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--light-border);
}
.att-mobile-menu.open { display: flex; }

/* ============================================================
   HERO BANNER
   ============================================================ */
.att-hero {
    margin-top: 80px;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.att-hero.att-hero-small { min-height: 50vh; }
.att-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}
.att-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
    animation: attFadeUp 1s ease both;
}
.att-hero-badge {
    display: inline-block;
    background: white;
    color: var(--primary-green);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.att-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.att-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}
.att-hero-motto {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.att-hero-subpage {
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, #3d6b22 100%);
}
.att-hero-subpage .att-hero h1 { font-size: 4rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.att-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.att-btn-white {
    background: white;
    color: var(--primary-green);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.att-btn-white:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.2);
}
.att-btn-green {
    background: var(--primary-green);
    color: white;
}
.att-btn-green:hover {
    background: #3d6b22;
    transform: translateY(-2px);
}

/* Social Buttons Hero */
.att-social-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.att-social-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.att-social-btn {
    width: 54px; height: 54px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.3rem;
}
.att-social-btn svg { width: 24px; height: 24px; fill: currentColor; }
.att-social-btn:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.att-social-label {
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================================
   SEKTIONEN ALLGEMEIN
   ============================================================ */
.att-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.att-section-full {
    padding: 6rem 2rem;
}
.att-section-bg-white { background: white; }
.att-section-bg-green { background: var(--primary-green); color: white; }
.att-section-bg-cream { background: var(--cream); }

.att-section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.att-section-tag {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.att-section-tag-white { color: rgba(255,255,255,0.75); }
.att-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.att-section-title-white { color: white; }
.att-section-desc {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}
.att-section-desc-white { color: rgba(255,255,255,0.85); }

/* ============================================================
   STATS / ZAHLEN
   ============================================================ */
.att-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}
.att-stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}
.att-stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}
.att-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ============================================================
   VERANSTALTUNGSKARTEN
   ============================================================ */
.att-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.att-event-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0,0,0,0.07);
    border-top: 4px solid var(--accent-gold);
    transition: all 0.3s;
}
.att-event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 35px rgba(0,0,0,0.13); }
.att-event-date {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.att-event-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.att-event-location {
    color: var(--gray);
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.att-event-desc {
    margin-top: 0.8rem;
    color: var(--gray);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ============================================================
   ÜBER UNS / ABOUT
   ============================================================ */
.att-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}
.att-about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.att-about-text p {
    color: var(--gray);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}
.att-about-tag {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.att-about-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.att-about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   GALERIE GRID
   ============================================================ */
.att-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.att-gallery-item {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.att-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.att-gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   THEATER SECTION
   ============================================================ */
.att-theater-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    background: white;
}
.att-theater-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.att-theater-img img { width: 100%; height: 100%; object-fit: cover; }
.att-theater-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.att-theater-text p { color: var(--gray); margin-bottom: 1.2rem; }

/* ============================================================
   PROBEN KARTEN
   ============================================================ */
.att-proben-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}
.att-probe-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border-left: 5px solid var(--accent-gold);
    transition: all 0.3s;
}
.att-probe-card:hover { transform: translateY(-5px); box-shadow: 0 8px 40px rgba(0,0,0,0.14); }
.att-probe-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}
.att-probe-info { margin-bottom: 1rem; }
.att-probe-info strong { color: var(--primary-green); font-weight: 600; }
.att-probe-times {
    margin: 1.5rem 0;
    padding-left: 1.2rem;
    border-left: 3px solid var(--accent-gold);
}
.att-probe-times p { margin-bottom: 0.7rem; font-size: 1.03rem; }
.att-probe-desc { color: var(--gray); margin-top: 1rem; line-height: 1.65; }

/* ============================================================
   KONTAKT KARTEN
   ============================================================ */
.att-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.att-contact-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.att-contact-card:hover { transform: translateY(-4px); }
.att-contact-header {
    background: var(--primary-green);
    color: white;
    padding: 1.5rem;
}
.att-contact-role {
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 0.3rem;
}
.att-contact-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
}
.att-contact-body { padding: 1.5rem; }
.att-contact-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}
.att-contact-item a { color: var(--primary-green); text-decoration: none; font-size: 0.93rem; }
.att-contact-item a:hover { text-decoration: underline; }

/* ============================================================
   PROBENZEITEN TABELLE (Kontaktseite)
   ============================================================ */
.att-proben-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.att-proben-table th {
    background: var(--primary-green);
    color: white;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.att-proben-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-border);
    font-size: 0.97rem;
}
.att-proben-table tr:last-child td { border-bottom: none; }
.att-proben-table tr:hover td { background: var(--cream); }

/* ============================================================
   CHRONIK TIMELINE
   ============================================================ */
.att-timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding-left: 2rem;
}
.att-timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-gold), var(--primary-green));
    border-radius: 3px;
}
.att-timeline-item {
    position: relative;
    padding: 0 0 3rem 3rem;
}
.att-timeline-item::before {
    content: '';
    position: absolute;
    left: -7px; top: 6px;
    width: 17px; height: 17px;
    background: var(--accent-gold);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--accent-gold);
}
.att-timeline-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}
.att-timeline-event {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}
.att-timeline-desc {
    color: var(--gray);
    line-height: 1.65;
    font-size: 0.97rem;
}

/* ============================================================
   CALL TO ACTION (Grüner Banner)
   ============================================================ */
.att-cta-banner {
    background: var(--primary-green);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}
.att-cta-banner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.att-cta-banner p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.att-footer {
    background: var(--dark-text);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.att-footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.att-footer-links a { color: var(--accent-gold); text-decoration: none; transition: opacity 0.3s; }
.att-footer-links a:hover { opacity: 0.7; }
.att-footer p { opacity: 0.6; font-size: 0.88rem; }

/* ============================================================
   IMPRESSUM / DATENSCHUTZ TEXT
   ============================================================ */
.att-legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.att-legal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin: 2rem 0 0.8rem;
}
.att-legal-content h3 {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin: 1.5rem 0 0.5rem;
}
.att-legal-content p, .att-legal-content li {
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 0.8rem;
    font-size: 0.97rem;
}
.att-legal-content a { color: var(--primary-green); }
.att-legal-content ul { padding-left: 1.5rem; }

/* ============================================================
   PDF EINBETTUNG (Terminzettel)
   ============================================================ */
.att-pdf-embed {
    width: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    display: block;
    margin-top: 2rem;
}

/* ============================================================
   ANIMATIONEN
   ============================================================ */
@keyframes attFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.att-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.att-fade-in.att-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .att-about-grid,
    .att-theater-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .att-hero h1 { font-size: 3.5rem; }
}
@media (max-width: 768px) {
    .att-hero h1 { font-size: 2.6rem; }
    .att-section-title { font-size: 2.4rem; }
    .att-nav-links { display: none; }
    .att-hamburger { display: flex; }
    .att-proben-grid { grid-template-columns: 1fr; }
    .att-events-grid { grid-template-columns: 1fr; }
}
