/* ============================================================
   SWH Bramberg – Stylesheet
   Farbpalette: Grün, Weiß, warme Akzente
   ============================================================ */

/* ---- Reset & Variablen ---- */
:root {
    --green-900: #1b5e20;
    --green-800: #2e7d32;
    --green-700: #388e3c;
    --green-600: #43a047;
    --green-500: #4caf50;
    --green-400: #66bb6a;
    --green-300: #a5d6a7;
    --green-100: #e8f5e9;
    --green-50:  #f1f8e9;

    --gold:      #f9a825;
    --warm-100:  #fff8e1;

    --text-dark:  #1a2e1b;
    --text-mid:   #3d4f3e;
    --text-light: #6a7c6b;
    --white:      #ffffff;
    --bg:         #f8fdf8;
    --border:     #d6ecd7;

    --shadow-sm: 0 2px 8px rgba(45,122,62,.10);
    --shadow-md: 0 4px 20px rgba(45,122,62,.15);
    --shadow-lg: 0 8px 40px rgba(45,122,62,.18);

    --radius:    12px;
    --radius-sm: 8px;
    --transition: .25s ease;

    --font-body: 'Lato', system-ui, sans-serif;
    --font-head: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.7;
}

a { color: var(--green-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-500); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ---- Utilities ---- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--white); }
.section-green { background: var(--green-900); color: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--green-800);
    margin-bottom: .6rem;
}
.section-green .section-header h2 { color: var(--white); }
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-green .section-header p { color: var(--green-300); }

.tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-100);
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: .75rem;
}
.section-green .tag { background: rgba(255,255,255,.15); color: var(--white); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    line-height: 1.2;
}
.btn-primary {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
}
.btn-primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-700);
}
.btn-outline:hover {
    background: var(--green-700);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-white {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--green-100);
    color: var(--green-900);
    border-color: var(--green-100);
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: box-shadow var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-shrink: 0;
}
.logo-icon svg { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--green-800);
}
.logo-sub {
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-light);
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; align-items: center; }
.main-nav a {
    display: block;
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-mid);
    transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--green-700);
    background: var(--green-100);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-500) 100%);
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: .06;
    background-image: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 30px 30px;
}
.hero-decor {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.hero-decor2 {
    position: absolute;
    right: 120px;
    bottom: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
    padding: 4rem 0;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-300);
    margin-bottom: 1.2rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--green-400);
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--green-300); }
.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
    max-width: 560px;
    margin-bottom: 2.2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.15);
    flex-wrap: wrap;
}
.hero-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
}
.hero-stat span { font-size: .85rem; color: var(--green-300); }

/* ---- Features / Leistungen ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-300);
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}
.feature-card h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--green-800);
    margin-bottom: .5rem;
}
.feature-card p { color: var(--text-light); font-size: .95rem; }

/* ---- About / Über uns ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder {
    text-align: center;
    color: var(--green-400);
    font-size: 4rem;
}
.about-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--green-800);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: .75rem 1.2rem;
    text-align: center;
    font-weight: 700;
}
.about-badge strong { display: block; font-size: 1.6rem; line-height: 1; }
.about-badge span { font-size: .75rem; opacity: .85; }
.about-content h2 {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    color: var(--green-800);
    margin-bottom: 1rem;
    line-height: 1.35;
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}
.about-list { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: .6rem; }
.about-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--text-mid);
    font-size: .95rem;
}
.about-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--green-100);
    color: var(--green-700);
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ---- News / Beiträge ---- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-img {
    aspect-ratio: 16/9;
    background: var(--green-100);
    overflow: hidden;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--green-400);
}
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-meta {
    display: flex;
    gap: .75rem;
    align-items: center;
    font-size: .8rem;
    color: var(--text-light);
    margin-bottom: .75rem;
}
.post-meta .cat-badge {
    background: var(--green-100);
    color: var(--green-700);
    padding: .2rem .65rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .72rem;
}
.post-card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: .6rem;
    line-height: 1.4;
}
.post-card p { color: var(--text-light); font-size: .9rem; flex: 1; }
.post-card .read-more {
    margin-top: 1.2rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--green-700);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.post-card .read-more::after { content: '→'; }

/* ---- Galerie ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27,94,32,.5);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    line-height: 1;
}

/* ---- Team ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.75rem;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid var(--green-300);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-family: var(--font-head); font-size: 1rem; color: var(--text-dark); margin-bottom: .25rem; }
.team-card .position { font-size: .85rem; color: var(--green-700); font-weight: 700; }
.team-card .department { font-size: .8rem; color: var(--text-light); margin-top: .2rem; }

/* ---- Kontakt ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-item-text strong { display: block; color: var(--green-800); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.contact-item-text span, .contact-item-text a { color: var(--text-mid); font-size: .95rem; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-form h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--green-800); margin-bottom: 1.5rem; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 700; color: var(--text-mid); margin-bottom: .4rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(76,175,80,.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.cta-banner h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: .75rem;
}
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer {
    background: var(--green-900);
    color: rgba(255,255,255,.8);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0 3rem;
}
.footer-col h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col p, .footer-col li { font-size: .9rem; line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--green-300); }
.footer-col ul { display: flex; flex-direction: column; gap: .3rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--green-300); }

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    color: var(--white);
    padding: 4.5rem 0 3rem;
}
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: .5rem;
}
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; }
.breadcrumb {
    display: flex;
    gap: .5rem;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .5; }

/* ---- Alert / Flash ---- */
.alert {
    padding: .9rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: .92rem;
    border-left: 4px solid;
}
.alert-success { background: #e8f5e9; border-color: var(--green-600); color: var(--green-900); }
.alert-error   { background: #fce4ec; border-color: #e53935; color: #b71c1c; }
.alert-info    { background: #e3f2fd; border-color: #1976d2; color: #0d47a1; }

/* ---- Single Post ---- */
.post-single { max-width: 780px; margin: 0 auto; padding: 3rem 0 5rem; }
.post-single h1 { font-family: var(--font-head); font-size: 2.2rem; color: var(--green-800); margin-bottom: 1rem; line-height: 1.3; }
.post-single .post-meta { margin-bottom: 2rem; }
.post-single img { border-radius: var(--radius); margin: 2rem 0; box-shadow: var(--shadow-sm); }
.post-single p { color: var(--text-mid); line-height: 1.85; margin-bottom: 1.2rem; }
.post-single h2 { font-family: var(--font-head); color: var(--green-800); font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.post-single h3 { font-family: var(--font-head); color: var(--green-800); font-size: 1.2rem; margin: 2rem 0 .75rem; }
.post-single ul, .post-single ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-mid); }
.post-single li { margin-bottom: .4rem; }

/* ---- Admin ---- */
.admin-body {
    font-family: var(--font-body);
    background: #f0f4f0;
    color: var(--text-dark);
    min-height: 100vh;
}
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    padding: 2rem;
}
.admin-login-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.admin-login-box .logo { justify-content: center; margin-bottom: 2rem; }
.admin-login-box h2 { font-family: var(--font-head); text-align: center; color: var(--green-800); margin-bottom: .35rem; }
.admin-login-box p { text-align: center; color: var(--text-light); margin-bottom: 2rem; font-size: .9rem; }

.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: var(--green-900);
    color: var(--white);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}
.admin-sidebar .logo {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 1rem;
}
.admin-sidebar .logo-main { color: var(--white); }
.admin-sidebar .logo-sub { color: rgba(255,255,255,.5); }
.admin-nav { flex: 1; padding: 0 .75rem; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .15rem;
    transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,.1);
    color: var(--white);
}
.admin-nav a .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.admin-nav-section {
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    padding: 1.25rem 1rem .4rem;
    font-weight: 700;
}
.admin-sidebar-footer {
    padding: 1rem 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    padding: .5rem 0;
}
.admin-sidebar-footer a:hover { color: var(--white); }

.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-topbar h1 { font-family: var(--font-head); font-size: 1.4rem; color: var(--green-800); }
.admin-content { padding: 2rem; overflow-y: auto; flex: 1; }

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.admin-card h2 { font-family: var(--font-head); font-size: 1.15rem; color: var(--green-800); margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.stat-box .stat-icon { font-size: 2rem; margin-bottom: .5rem; }
.stat-box .stat-value { font-family: var(--font-head); font-size: 2rem; color: var(--green-800); line-height: 1; }
.stat-box .stat-label { font-size: .82rem; color: var(--text-light); margin-top: .25rem; }

/* Admin Table */
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th {
    background: var(--green-50);
    color: var(--green-800);
    font-weight: 700;
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.admin-table td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--green-50); }
.admin-table .actions { display: flex; gap: .5rem; }
.admin-table .actions a, .admin-table .actions button {
    display: inline-flex;
    align-items: center;
    padding: .3rem .7rem;
    border-radius: var(--radius-sm);
    font-size: .8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    gap: .3rem;
}
.btn-edit { background: var(--green-100); color: var(--green-800); }
.btn-edit:hover { background: var(--green-200, #c8e6c9); color: var(--green-900); }
.btn-delete { background: #fce4ec; color: #c62828; }
.btn-delete:hover { background: #ef9a9a; }
.badge-pub { background: var(--green-100); color: var(--green-700); padding: .2rem .6rem; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.badge-draft { background: #fff3e0; color: #e65100; padding: .2rem .6rem; border-radius: 50px; font-size: .75rem; font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-sidebar.open { display: flex; position: fixed; inset-y: 0; left: 0; z-index: 200; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 1rem;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { padding: .75rem 1rem; border-radius: var(--radius-sm); }
    .hero-stats { gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .section { padding: 3.5rem 0; }
    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2rem; }
}
