/* IKA e.V. – Webseite · Stylesheet */
@import url("fonts/fonts.css");

:root {
  --orange: #F26A1B;
  --orange-dark: #D4560F;
  --orange-soft: #FFF1E8;
  --navy: #0F1B2D;
  --navy-2: #172A45;
  --ink: #1C1917;
  --ink-2: #44403C;
  --muted: #6B6560;
  --line: #E7E0D8;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --green: #1F7A5C;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(28, 25, 23, .08);
  --max: 1160px;
  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #E8EDF5; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .muted { color: #A7B3C6; }
.section-orange { background: var(--orange); color: var(--white); }
.section-orange h2, .section-orange h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px;
}
.section-dark .eyebrow { color: #FFB27A; }
.section-orange .eyebrow { color: rgba(255,255,255,.85); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #F3EEE7; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.brand-tag { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .98rem; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--orange-soft); color: var(--orange-dark); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 18px 20px; gap: 6px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%; opacity: .6; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,27,45,.96) 0%, rgba(15,27,45,.78) 45%, rgba(15,27,45,.35) 100%); }
.hero .wrap { padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(70px, 10vw, 130px); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #FFB27A; }
.hero .lead { color: #D6DEEA; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero .eyebrow { color: #FFB27A; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: .92rem; color: #C7D0DE; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: #FFB27A; flex: none; }
.page-hero { background: var(--navy); color: var(--white); }
.page-hero .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: #D6DEEA; }
.page-hero .eyebrow { color: #FFB27A; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--orange); line-height: 1.05; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.section-dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section-dark .stat span { color: #C7D0DE; }
.stats-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: none; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin-top: 6px; }
.card p:last-child { margin-bottom: 0; }
.card-img { padding: 0; overflow: hidden; }
.card-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-img .card-body { padding: 24px 26px 28px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-dark);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icon svg { width: 24px; height: 24px; }
.section-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #DCE3EE; }
.section-dark .icon { background: rgba(255,178,122,.14); color: #FFB27A; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4560F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/12px no-repeat;
}
.section-dark .checks li::before { background-color: rgba(255,178,122,.18); }

/* Quote */
.quote { border-left: 4px solid var(--orange); padding: 6px 0 6px 24px; margin: 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.quote footer { font-family: var(--font-body); font-size: .95rem; font-weight: 400; color: var(--muted); margin-top: 12px; }
.section-dark .quote { color: var(--white); }
.section-dark .quote footer { color: #A7B3C6; }

/* Timeline / programme */
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.day { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.day .d { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--orange-dark); }
.day .t { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.day ul { padding-left: 18px; margin: 0; }
.day li { margin-bottom: 6px; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 22px 0; font-size: .95rem; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--orange); flex: none; }

/* Donation box */
.donate-box { background: var(--white); border: 2px solid var(--orange); border-radius: var(--radius); padding: 30px; }
.donate-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0 0; }
.donate-box dt { font-weight: 600; color: var(--muted); }
.donate-box dd { margin: 0; font-family: var(--font-head); font-weight: 700; word-break: break-word; }
.placeholder { background: #FFF6D6; border: 1px dashed #E0B94A; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; color: #6A4E00; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-dark); font-family: var(--font-head); font-weight: 700; font-size: .82rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--orange) 0%, #FF8A3D 100%); color: var(--white); }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.92); }
.cta-band .btn-row { justify-content: flex-start; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy); color: #B8C2D3; padding: 56px 0 28px; font-size: .95rem; }
.footer a { color: #E8EDF5; }
.footer a:hover { color: #FFB27A; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .brand { color: var(--white); margin-bottom: 14px; }
.footer .brand-tag { color: #A7B3C6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: #8E9BB0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.two-col { columns: 2; column-gap: 40px; } @media (max-width: 700px) { .two-col { columns: 1; } }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.notice { background: var(--orange-soft); border-radius: var(--radius-sm); padding: 16px 20px; border-left: 4px solid var(--orange); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* Unterstützer / Logos */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.logo-grid-big { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.logo-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); transition: box-shadow .2s; }
.logo-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.logo-box { height: 110px; display: grid; place-items: center; padding: 10px; }
.logo-grid-big .logo-box { height: 160px; }
.logo-box img { max-height: 100%; max-width: 100%; object-fit: contain; width: auto; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; text-align: center; color: var(--ink-2); }
.logo-meta { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; font-size: .92rem; line-height: 1.5; }
.foerderkreis-liste { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.foerderkreis-liste li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* Logo-Streifen Startseite */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; margin-top: 8px; }
.logo-strip a, .logo-strip span { display: block; height: 56px; opacity: .85; transition: opacity .2s; }
.logo-strip a:hover { opacity: 1; }
.logo-strip img { height: 100%; width: auto; max-width: 180px; object-fit: contain; }
