﻿/* style1.css - Forschungsgruppe Schelmsrasen */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-alt);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip-Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.site-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Layout */
.layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Main Content */
main article {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

main h2 {
    color: var(--primary-dark);
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
}

main h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

main p {
    margin-bottom: 1rem;
}

/* Hero Image */
.hero {
    margin: 0 0 2rem;
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.hero img {
    margin: 0 auto;
    border-radius: 8px;
}

.hero figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Farewell Note (Vision) */
.farewell-note {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.farewell-note h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.farewell-note p:last-child {
    margin-bottom: 0;
}

/* Year Grid (Projekt-Karten) */
.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.year-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.year-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.year-card .cam {
    font-size: 2rem;
}

.year-card strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.year-card span:last-child {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Benefits Grid */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.benefit {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.benefit h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.benefit p:last-child {
    margin-bottom: 0;
}

/* Featured Image */
.featured {
    margin: 2rem 0;
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.featured img {
    margin: 0 auto;
    border-radius: 8px;
}

.featured figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--primary);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-box {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.side-box h2 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

/* Sidebar Navigation */
.side-nav a {
    display: block;
    padding: 0.6rem 0.8rem;
    color: var(--text);
    border-radius: 6px;
    transition: all var(--transition);
    margin-bottom: 0.3rem;
}

.side-nav a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ABC Grid (Projekt-ABC) */
.abc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.abc-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 6px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.abc-grid a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

.abc-grid a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-main {
    margin-bottom: 0.5rem;
}

.footer-legal {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-legal a {
    color: #dbeafe;
    margin: 0 0.5rem;
}

.footer-legal a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
    
    main article {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .year-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .abc-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .site-header {
        padding: 2rem 0;
    }
}/* Rechte-Liste in der Datenschutzerklärung */
.rights-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.rights-list li {
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.rights-list li strong {
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0.3rem;
}

.rights-list li p {
  margin: 0;
}

/* Interne Anker-Links im TOC */
.farewell-note a {
  color: var(--primary-dark);
  text-decoration: none;
  line-height: 1.8;
  display: inline-block;
}

.farewell-note a:hover {
  text-decoration: underline;
}

/* Listen im Haupttext */
main article ul {
  margin: 1rem 0 1rem 1.5rem;
}

main article ul li {
  margin-bottom: 0.5rem;
}

main article h3 {
  margin-top: 2rem;
  color: var(--primary-dark);
  font-size: 1.25rem;
}

main article h4 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--text);
}
/* RSS-Feed Grid */
.rss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.rss-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.rss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform var(--transition);
    transform-origin: bottom;
}

.rss-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.rss-card:hover::before {
    transform: scaleY(1);
}

.rss-icon {
    font-size: 1.8rem;
}

.rss-title {
    color: var(--primary-dark);
    font-size: 1.05rem;
    line-height: 1.4;
}

.rss-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.rss-desc {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    flex-grow: 1;
}

.rss-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Fehlermeldung */
.rss-error {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1rem 1.2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: #991b1b;
}

@media (max-width: 600px) {
    .rss-grid {
        grid-template-columns: 1fr;
    }
}
/* Kaffee-Rubriken Grid */
/* Rubriken-Liste (untereinander) */
.rubriken-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rubriken-list li {
    margin: 0;
}

.rubriken-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.rubriken-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #92400e 0%, #b45309 100%);
    transform: scaleY(0);
    transition: transform var(--transition);
    transform-origin: top;
}

.rubriken-list a:hover {
    border-color: #92400e;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(146, 64, 14, 0.12);
}

.rubriken-list a:hover::before {
    transform: scaleY(1);
}

.rubrik-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.rubrik-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rubrik-content strong {
    color: #92400e;
    font-size: 1.1rem;
}

.rubrik-content span {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.rubrik-arrow {
    color: #92400e;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.rubriken-list a:hover .rubrik-arrow {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .rubriken-list a {
        padding: 1rem 1.2rem;
    }
    
    .rubrik-icon {
        font-size: 1.5rem;
    }
    
    .rubrik-content strong {
        font-size: 1rem;
    }
    
    .rubrik-content span {
        font-size: 0.85rem;
    }
}
/* Banner-Bild in der Hero-Figur */
.hero img.hero-banner {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
/* Countdown-Box */
.countdown-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.countdown-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.countdown-box h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.countdown-date {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
    font-variant-numeric: tabular-nums;
}

.countdown-text {
    color: var(--text);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Farewell-Note Listen */
.farewell-note ul {
    margin: 1rem 0 0 1.5rem;
    text-align: left;
}

.farewell-note ul li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* Stay-tuned Liste */
.stay-tuned-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stay-tuned-list li {
    margin: 0;
}

.stay-tuned-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stay-tuned-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform var(--transition);
    transform-origin: top;
}

.stay-tuned-list a:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.stay-tuned-list a:hover::before {
    transform: scaleY(1);
}

.stay-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stay-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stay-content strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.stay-content span {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.stay-arrow {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.stay-tuned-list a:hover .stay-arrow {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .countdown-date {
        font-size: 1.8rem;
    }
    
    .countdown-box {
        padding: 1.8rem 1.2rem;
    }
    
    .stay-tuned-list a {
        padding: 1rem 1.2rem;
    }
}


/* Sitemap Website-Grid */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.site-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.site-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.site-card:hover::before {
    transform: scaleX(1);
}

.site-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.site-title {
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
    word-break: break-word;
}

.site-title:hover {
    text-decoration: underline;
}

.site-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 0.8rem;
    font-size: 0.85rem;
    margin: 0;
}

.site-details dt {
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}

.site-details dt::after {
    content: ':';
}

.site-details dd {
    margin: 0;
    color: var(--text);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}
