/* ah2.org - Wildtierpflege Lernplattform - Premium Light Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Crimson+Pro:wght@400;600;700;800&display=swap');

:root {
  --white: #ffffff;
  --bg: #f8f9fa;
  --bg-section: #ffffff;
  --text: #1a1a2e;
  --text-body: #4a4a68;
  --text-muted: #8888a4;
  --text-light: #b0b0c8;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-sun: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  --gradient-forest: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --purple: #667eea;
  --violet: #764ba2;
  --border: #e8e8f0;
  --border-light: #f0f0f8;
  --shadow-sm: 0 2px 8px rgba(102,126,234,0.08);
  --shadow-md: 0 8px 30px rgba(102,126,234,0.12);
  --shadow-lg: 0 20px 60px rgba(102,126,234,0.15);
  --shadow-xl: 0 30px 80px rgba(102,126,234,0.2);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
  --shadow-card-hover: 0 20px 60px rgba(102,126,234,0.18), 0 8px 20px rgba(118,75,162,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

::selection { background: rgba(102,126,234,0.2); color: var(--text); }
a { color: var(--purple); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--violet); }
p { margin-bottom: 0.85rem; }
ul, ol { padding-left: 1.5rem; margin: 0.5rem 0; }
li { margin-bottom: 0.3rem; }
li::marker { color: var(--purple); }

/* === SKIP LINK === */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--gradient); color: #fff;
  padding: 0.5rem 1.2rem; border-radius: 100px;
  font-weight: 600; z-index: 10000; transition: top 0.3s;
}
.skip-link:focus { top: 0.5rem; color: #fff; }

/* ============================================
   NAVIGATION - Frosted glass sticky
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}

.nav-logo {
  font-family: 'Crimson Pro', serif; font-size: 1.6rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  text-decoration: none; transition: transform 0.3s var(--ease-bounce);
}
.nav-logo:hover { transform: scale(1.05); }
.nav-logo span {
  -webkit-text-fill-color: var(--text-muted);
  font-family: 'Inter', sans-serif; font-weight: 500;
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-left: 0.5rem;
}

.nav-links { display: flex; gap: 0.1rem; align-items: center; }
.nav-links > a, .nav-links > .dropdown > a {
  color: var(--text-muted); text-decoration: none;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-sm);
  font-size: 0.87rem; font-weight: 500; transition: all 0.2s;
}
.nav-links > a:hover, .nav-links > .dropdown > a:hover,
.nav-links > a.active, .nav-links > .dropdown > a.active {
  color: var(--text); background: rgba(102,126,234,0.06);
}

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); font-size: 1.2rem; cursor: pointer;
  padding: 0.45rem 0.65rem; border-radius: var(--radius-sm); transition: all 0.2s;
}
.nav-toggle:hover { background: rgba(102,126,234,0.06); }

.dropdown { position: relative; }
.dropdown-content {
  display: none; position: absolute; top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%) translateY(-8px);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  min-width: 240px; box-shadow: var(--shadow-lg); z-index: 200;
  padding: 0.5rem; opacity: 0;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block; opacity: 1; transform: translateX(-50%) translateY(0);
}
.dropdown-content a {
  display: block; padding: 0.5rem 1rem; color: var(--text-muted);
  border-radius: 8px; font-size: 0.85rem; transition: all 0.15s;
}
.dropdown-content a:hover {
  color: var(--purple); background: rgba(102,126,234,0.06); padding-left: 1.15rem;
}

/* ============================================
   HERO - Big gradient header
   ============================================ */
.hero {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl); margin-bottom: 4rem;
  padding: 6rem 2.5rem 5rem; text-align: center;
  position: relative; overflow: hidden;
}

/* Animated mesh shapes */
.hero::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  top: -200px; right: -150px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: heroOrb 12s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; width: 400px; height: 400px;
  bottom: -120px; left: -100px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: heroOrb 15s ease-in-out infinite alternate-reverse;
}
@keyframes heroOrb {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-30px) scale(1.15); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; color: #fff;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s var(--ease) both;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: #ffffff; margin-bottom: 1.2rem;
  line-height: 1.1; letter-spacing: -0.03em; font-weight: 800;
  animation: fadeInUp 0.7s var(--ease) 0.1s both;
  text-shadow: 0 2px 30px rgba(0,0,0,0.15);
}
.hero h1 .accent { color: rgba(255,255,255,0.85); font-style: italic; }

.hero p {
  color: rgba(255,255,255,0.8); font-size: 1.2rem;
  max-width: 560px; margin: 0 auto 3rem; line-height: 1.7;
  animation: fadeInUp 0.7s var(--ease) 0.2s both;
}

.hero-stats {
  display: flex; justify-content: center; gap: 4rem;
  animation: fadeInUp 0.7s var(--ease) 0.35s both;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: 'Crimson Pro', serif; font-size: 2.8rem;
  font-weight: 800; color: #fff; line-height: 1; display: block;
}
.hero-stat .label {
  font-size: 0.72rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.3rem; display: block;
}

/* ============================================
   HEADINGS
   ============================================ */
h1 {
  font-family: 'Crimson Pro', serif; font-size: 2.4rem;
  color: var(--text); margin-bottom: 1.5rem; line-height: 1.2;
  letter-spacing: -0.02em; font-weight: 700;
}
h2 {
  font-family: 'Crimson Pro', serif; font-size: 1.7rem;
  color: var(--text); margin: 2.5rem 0 1.2rem; line-height: 1.25;
  letter-spacing: -0.02em; font-weight: 700;
}
h3 { font-size: 1.1rem; color: var(--purple); margin: 1.8rem 0 0.7rem; font-weight: 600; }

/* ============================================
   CARDS - Glassmorphism with gradient border
   ============================================ */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin: 2rem 0;
}

.card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
  transition: all 0.4s var(--ease);
}

/* Gradient border top */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient); opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(102,126,234,0.15);
}

.card h3 { margin-top: 0; color: var(--text); font-size: 1.05rem; }
.card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
a.card-link { text-decoration: none; color: inherit; display: block; }

.card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(102,126,234,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
  transition: all 0.4s var(--ease);
}
.card:hover .card-icon {
  background: var(--gradient);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(102,126,234,0.25);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2.5rem;
  margin-bottom: 2rem; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.content-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient); opacity: 0.5;
}

/* ============================================
   TABLES
   ============================================ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2rem 0; font-size: 0.9rem; }
/* Tables inside content sections scroll on mobile */
.content-section { overflow-x: auto; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border-light); }
th {
  background: linear-gradient(135deg, rgba(102,126,234,0.05), rgba(118,75,162,0.05));
  color: var(--purple); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
th:first-child { border-radius: var(--radius-sm) 0 0 0; }
th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
tr:hover { background: rgba(102,126,234,0.03); }

/* ============================================
   RECHNER / CALCULATOR
   ============================================ */
.rechner {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2.5rem;
  margin: 2rem 0; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.rechner::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%;
  height: 4px; background: var(--gradient);
}
.rechner h3 { color: var(--purple); margin-top: 0.5rem; }
.rechner-form { display: grid; gap: 1rem; margin: 1.2rem 0; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-size: 0.78rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input, .form-group select {
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--text); padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  font-size: 1rem; font-family: 'Inter', sans-serif; transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(102,126,234,0.1); background: var(--white);
}
.form-group input[type="number"] { -moz-appearance: textfield; }
.form-group input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

.rechner-result {
  background: linear-gradient(135deg, rgba(102,126,234,0.04), rgba(118,75,162,0.04));
  border: 1.5px solid rgba(102,126,234,0.12); border-radius: var(--radius);
  padding: 1.8rem; margin-top: 1.2rem; text-align: center; transition: all 0.4s var(--ease);
}
.rechner-result.has-value {
  border-color: var(--purple);
  box-shadow: 0 0 40px rgba(102,126,234,0.12);
  background: linear-gradient(135deg, rgba(102,126,234,0.06), rgba(118,75,162,0.06));
}
.rechner-result .value {
  font-family: 'Crimson Pro', serif; font-size: 2.6rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.rechner-result .unit { color: var(--text-muted); font-size: 0.85rem; }

.btn-calc {
  background: var(--gradient); color: #fff; border: none;
  padding: 0.85rem 2.2rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all 0.35s var(--ease);
  box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}
.btn-calc:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(102,126,234,0.35);
}
.btn-calc:active { transform: translateY(-1px); }

/* ============================================
   INFO & WARNING BOXES
   ============================================ */
.info-box {
  background: linear-gradient(135deg, rgba(102,126,234,0.04), rgba(118,75,162,0.03));
  border-left: 4px solid var(--purple); padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 1.2rem 0;
}
.warning-box {
  background: linear-gradient(135deg, rgba(245,87,108,0.04), rgba(240,147,251,0.03));
  border-left: 4px solid #f5576c; padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 1.2rem 0;
}

/* === BREADCRUMB === */
.breadcrumb {
  display: flex; gap: 0.5rem; font-size: 0.82rem; color: var(--text-light);
  margin-bottom: 2rem; flex-wrap: wrap; align-items: center;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb span { opacity: 0.35; }

/* === SOURCES === */
.quelle {
  font-size: 0.8rem; color: var(--text-light);
  border-top: 1px solid var(--border-light); margin-top: 2rem; padding-top: 1rem;
}
.quelle a { color: var(--purple); }
.quelle a:hover { text-decoration: underline; color: var(--violet); }

/* === CODE === */
code {
  background: rgba(102,126,234,0.06); border: 1px solid var(--border);
  padding: 0.15rem 0.4rem; border-radius: 5px; font-size: 0.88em; color: var(--purple);
}

/* ============================================
   FOOTER - Dark contrast
   ============================================ */
.footer {
  background: #1a1a2e; color: rgba(255,255,255,0.5);
  padding: 3.5rem 2rem 2rem; margin-top: auto; position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient);
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2.5rem;
}
.footer h4 {
  color: #fff; margin-bottom: 1rem; font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
}
.footer a {
  color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.88rem;
  display: block; padding: 0.2rem 0; transition: all 0.2s;
}
.footer a:hover { color: rgba(255,255,255,0.9); padding-left: 0.3rem; }
.footer-bottom {
  text-align: center; color: rgba(255,255,255,0.2); font-size: 0.75rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: var(--max-width); margin-left: auto; margin-right: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.8); }
}

/* ============================================
   MAIN
   ============================================ */
.main {
  flex: 1; max-width: var(--max-width); margin: 0 auto;
  padding: 2.5rem 2rem; width: 100%;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
  /* Navigation */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem; gap: 0.15rem;
    max-height: 80vh; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .dropdown-content {
    position: static; display: none; box-shadow: none; border: none;
    transform: none; background: transparent; backdrop-filter: none;
    padding-left: 1rem; min-width: auto; opacity: 1;
  }
  .dropdown.open .dropdown-content { display: block; }

  /* Hero */
  .hero { padding: 3rem 1.5rem 2.5rem; margin-bottom: 2rem; border-radius: var(--radius-lg); }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero p { font-size: 1rem; margin-bottom: 2rem; }
  .hero-badge { font-size: 0.68rem; padding: 0.3rem 0.9rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .hero-stat .number { font-size: 2rem; }
  .hero-stat .label { font-size: 0.65rem; }

  /* Typography */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; margin: 2rem 0 1rem; }
  h3 { font-size: 1rem; }

  /* Layout */
  .main { padding: 1.5rem 1rem; }
  .card-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Cards */
  .card { padding: 1.5rem; border-radius: var(--radius); }
  .card-icon { width: 44px; height: 44px; font-size: 1.2rem; }

  /* Content sections */
  .content-section { padding: 1.5rem; border-radius: var(--radius); }
  .rechner { padding: 1.5rem; border-radius: var(--radius); }

  /* Tables - scrollable horizontally */
  .table-wrap { margin: 0 -1.5rem; padding: 0 1.5rem; }
  table { font-size: 0.82rem; min-width: 500px; }
  th, td { padding: 0.55rem 0.6rem; white-space: nowrap; }

  /* Forms */
  .rechner-form { grid-template-columns: 1fr; }
  .form-group input, .form-group select { padding: 0.75rem 0.9rem; font-size: 16px; }
  .btn-calc { width: 100%; padding: 0.85rem; }
  .rechner-result .value { font-size: 2rem; }

  /* Info/Warning boxes */
  .info-box, .warning-box { padding: 1rem 1.2rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.75rem; margin-bottom: 1.5rem; }

  /* Footer */
  .footer { padding: 2rem 1.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer h4 { font-size: 0.75rem; }
  .footer a { font-size: 0.82rem; }

  /* Sources */
  .quelle { font-size: 0.75rem; }

  /* Disable complex hover effects on touch */
  .card:hover { transform: none; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 0.8rem; height: 60px; }
  .nav-logo { font-size: 1.3rem; }
  .nav-logo span { display: none; }

  .hero { padding: 2.5rem 1rem 2rem; border-radius: var(--radius); }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.92rem; }
  .hero-stats { flex-direction: column; gap: 0.8rem; }
  .hero-stat { display: flex; align-items: baseline; gap: 0.5rem; justify-content: center; }
  .hero-stat .number { font-size: 1.6rem; }

  .main { padding: 1rem 0.8rem; }
  .card { padding: 1.2rem; }
  .content-section { padding: 1.2rem; }
  .rechner { padding: 1.2rem; }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .footer-bottom { font-size: 0.7rem; }

  /* Tables scroll hint */
  .table-wrap { margin: 0 -1.2rem; padding: 0 1.2rem; }
  table { min-width: 450px; font-size: 0.78rem; }
  th, td { padding: 0.45rem 0.5rem; }
}

@media (max-width: 375px) {
  .nav-inner { padding: 0 0.6rem; }
  .nav-logo { font-size: 1.15rem; }
  .hero { padding: 2rem 0.8rem 1.5rem; }
  .hero h1 { font-size: 1.35rem; }
  .hero p { font-size: 0.85rem; }
  .hero-badge { font-size: 0.6rem; padding: 0.25rem 0.7rem; }
  .main { padding: 0.8rem 0.6rem; }
  .card { padding: 1rem; }
  .content-section, .rechner { padding: 1rem; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .breadcrumb { font-size: 0.7rem; }
  .rechner-result .value { font-size: 1.6rem; }
  .form-group input, .form-group select { padding: 0.65rem 0.8rem; }
}

/* Overflow protection for all screens */
img, svg, video, iframe { max-width: 100%; height: auto; }
pre, code { overflow-x: auto; word-break: break-word; }
.content-section, .rechner, .card, .info-box, .warning-box { overflow-wrap: break-word; word-wrap: break-word; }

@media print {
  .nav, .footer { display: none; }
  body { background: #fff; }
  .card, .content-section, .rechner { border: 1px solid #ddd; background: #fff; box-shadow: none; }
  .hero { background: #eee; color: #000; }
  .hero h1, .hero p, .hero-stat .number, .hero-stat .label { color: #000; text-shadow: none; }
}
