/* === SHARED STYLES === */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --sea: #1a6b8a;
  --sea-light: #e8f4f8;
  --coast: #f0c75e;
  --land: #2d5016;
  --land-light: #e8f0e0;
  --stone: #8b7d6b;
  --stone-light: #f5f0ea;
  --accent: #c0392b;
  --bg: #faf9f6;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --card-shadow: 0 2px 20px rgba(0,0,0,0.06);
  --radius: 12px;
}

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: var(--sea);
  text-decoration: none;
  border-bottom: 1px solid rgba(26,107,138,0.3);
  transition: all 0.2s;
}
a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === SITE HEADER / NAV === */
.site-header {
  background: linear-gradient(135deg, #0d3b4f 0%, #1a6b8a 40%, #2d8faa 70%, #f0c75e 100%);
  color: white;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-header .site-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  letter-spacing: -0.3px;
}

.site-header .site-name a {
  color: white;
  border-bottom: none;
}
.site-header .site-name a:hover {
  color: var(--coast);
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: white;
  border-bottom-color: var(--coast);
}

/* === HERO (Homepage) === */
.hero-home {
  background: linear-gradient(135deg, #0d3b4f 0%, #1a6b8a 40%, #2d8faa 70%, #f0c75e 100%);
  color: white;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero-home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--bg));
}

/* === WELCOME SECTION === */
.welcome-section {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  margin-top: -30px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.welcome-photo {
  flex: 0 0 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0d3b4f;
}

.welcome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.welcome-text {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  align-items: center;
}

.welcome-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
}

@media (max-width: 640px) {
  .welcome-section {
    flex-direction: column;
  }
  .welcome-photo {
    flex: 0 0 auto;
    max-height: none;
  }
  .welcome-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .welcome-text {
    padding: 24px 20px;
  }
}

/* === CATEGORY CARDS === */
.section {
  margin-top: 56px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--sea);
  margin-bottom: 8px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--coast);
  border-radius: 2px;
  margin-bottom: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.category-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid var(--sea);
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}

.category-card.tbd {
  border-left-color: var(--stone);
  opacity: 0.7;
}

.category-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--sea);
  margin-bottom: 8px;
}
.category-card.tbd h3 {
  color: var(--stone);
}

.category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.category-card .subpages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-card .subpage-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sea-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: none;
  transition: all 0.2s;
}
.category-card .subpage-link:hover {
  background: var(--sea);
  color: white;
}

/* === LEGAL PAGES === */
.legal-page {
  padding: 40px 0 60px;
}

.legal-page h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--sea);
  margin-bottom: 8px;
}

.legal-page .section-line {
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--sea);
  margin: 28px 0 12px;
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text);
}

.legal-page p,
.legal-page li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-page ul li {
  margin-bottom: 6px;
}

.impressum-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
}

.legal-meta {
  margin-top: 30px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* === SITE FOOTER === */
.site-footer {
  margin-top: 60px;
  padding: 32px 0;
  border-top: 2px solid #eee;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--text-muted);
}
.site-footer a:hover {
  color: var(--sea);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* === PRINT === */
@media print {
  .site-header { position: static; }
}
