/*
Theme Name: DC Pielfresen
Theme URI: https://dart.webfriese.de/
Author: Webfriese
Description: Maßgeschneidertes Vereins-Theme für den DC Pielfresen e.V.
Version: 1.0.0
Text Domain: dc-pielfresen
*/

:root {
  --ink: #0a0b0d;
  --ink-soft: #15171b;
  --paper: #f4f1e8;
  --paper-2: #e8e3d6;
  --yellow: #ffd400;
  --yellow-dark: #d7ae00;
  --white: #fff;
  --muted: #b7b8bc;
  --line: rgba(255,255,255,.14);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0,0,0,.22);
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.62; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 9999; padding: 12px 18px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,11,13,.93); color: var(--white); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 900; letter-spacing: -.02em; }
.brand img { width: 54px; height: 58px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.02; }
.brand-copy strong { font-size: 1.04rem; text-transform: uppercase; }
.brand-copy span { margin-top: 5px; color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.nav-toggle { display: none; border: 0; background: transparent; color: white; padding: 10px; font: inherit; font-weight: 800; }
.nav-toggle span { display: block; width: 27px; height: 2px; margin: 6px 0; background: var(--yellow); }
.primary-nav ul { display: flex; align-items: center; gap: 27px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { text-decoration: none; font-size: .86rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--yellow); }
.primary-nav .menu-cta a { padding: 11px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); }

.hero { position: relative; min-height: 690px; display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 33%; opacity: .69; }
.hero-media::after { content: ""; background: linear-gradient(90deg, rgba(4,5,7,.94) 0%, rgba(4,5,7,.7) 48%, rgba(4,5,7,.18) 100%), linear-gradient(0deg, rgba(4,5,7,.78), transparent 52%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .55fr); gap: 60px; align-items: end; padding: 130px 0 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--yellow); font-size: .82rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 35px; height: 3px; background: currentColor; }
h1,h2,h3 { line-height: 1.05; letter-spacing: -.035em; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.9rem); text-transform: uppercase; }
.hero h1 em { display: block; color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 680px; margin: 25px 0 0; color: #e7e7e7; font-size: clamp(1.05rem, 1.7vw, 1.32rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 22px; border: 2px solid var(--yellow); border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 900; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #ffe04a; }
.button--ghost { background: transparent; color: white; border-color: rgba(255,255,255,.48); }
.button--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.quick-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10,11,13,.72); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.quick-card h2 { margin: 0 0 20px; color: var(--yellow); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; }
.quick-card dl { margin: 0; }
.quick-card dl div { padding: 13px 0; border-top: 1px solid var(--line); }
.quick-card dt { color: var(--muted); font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quick-card dd { margin: 2px 0 0; font-weight: 800; }

.section { padding: 96px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--yellow { background: var(--yellow); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-kicker { margin: 0 0 12px; color: var(--yellow-dark); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section--dark .section-kicker { color: var(--yellow); }
.section-title { max-width: 760px; margin: 0; font-size: clamp(2.15rem, 4vw, 4rem); text-transform: uppercase; }
.section-intro { max-width: 700px; margin: 16px 0 0; color: #555960; font-size: 1.1rem; }
.section--dark .section-intro { color: #c5c6c9; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.feature-card::before { content: attr(data-letter); position: absolute; right: -10px; bottom: -54px; color: rgba(10,11,13,.055); font-size: 15rem; font-weight: 950; line-height: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-card .tag { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.feature-card h3 { margin: auto 0 12px; font-size: 2.25rem; text-transform: uppercase; }
.feature-card p { margin: 0; color: #555960; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 45%; height: 45%; border-right: 8px solid var(--yellow); border-bottom: 8px solid var(--yellow); border-radius: 0 0 18px 0; pointer-events: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.stat { padding: 18px 12px; border-top: 3px solid var(--yellow); background: #17191d; }
.stat strong { display: block; color: var(--yellow); font-size: 1.55rem; }
.stat span { color: #c5c6c9; font-size: .78rem; }

.info-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #d1cbbc; border: 1px solid #d1cbbc; }
.info-item { padding: 30px; background: var(--paper); }
.info-item strong { display: block; margin-bottom: 8px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.info-item p { margin: 0; color: #50535a; }

.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; min-height: 260px; padding: 26px; border: 1px solid #d7d1c4; border-radius: var(--radius); background: #faf8f2; text-decoration: none; }
.news-card time { color: #71747a; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-card h3 { margin: auto 0 14px; font-size: 1.65rem; }
.news-card p { margin: 0; color: #5f6268; }
.news-card:hover { border-color: var(--yellow-dark); box-shadow: 0 12px 35px rgba(0,0,0,.08); }

.cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(2.4rem,5vw,5.4rem); text-transform: uppercase; }
.cta p { max-width: 680px; margin: 18px 0 0; font-size: 1.15rem; }

.page-hero { padding: 105px 0 72px; background: var(--ink); color: white; }
.page-hero h1 { max-width: 900px; margin: 0; color: var(--yellow); font-size: clamp(3rem,6vw,6rem); text-transform: uppercase; }
.page-hero p { max-width: 740px; margin: 20px 0 0; color: #c7c8cb; font-size: 1.16rem; }
.content-shell { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.entry-content { font-size: 1.08rem; }
.entry-content h2 { margin: 2.2em 0 .7em; font-size: clamp(1.8rem,4vw,3rem); text-transform: uppercase; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.35rem; }
.entry-content p, .entry-content ul { max-width: 760px; }
.entry-content a { text-decoration-thickness: 2px; text-decoration-color: var(--yellow-dark); text-underline-offset: 3px; }
.content-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin: 30px 0; }
.content-card { padding: 28px; border: 1px solid #d8d2c6; border-radius: var(--radius); background: white; }
.content-card h3 { margin: 0 0 12px; }
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin: 34px 0; }
.contact-card { padding: 30px; border-radius: var(--radius); background: var(--ink); color: white; }
.contact-card small { color: var(--yellow); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h3 { margin: 12px 0; font-size: 1.55rem; }
.contact-card a { color: white; }
.archive-note { padding: 24px; border-left: 6px solid var(--yellow); background: #fff; }

.site-footer { padding: 65px 0 26px; background: #050608; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 55px; }
.footer-brand { max-width: 390px; }
.footer-brand img { width: 85px; margin-bottom: 18px; }
.footer-brand p { color: #aeb0b5; }
.site-footer h2 { margin: 0 0 18px; color: var(--yellow); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { color: #e8e8e8; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid var(--line); color: #81848a; font-size: .8rem; }

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 20px; background: var(--ink); border-top: 1px solid var(--line); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 13px 0; }
  .hero { min-height: 760px; }
  .hero-inner { grid-template-columns: 1fr; gap: 35px; padding-top: 120px; }
  .quick-card { max-width: 520px; }
  .feature-grid, .news-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .split { grid-template-columns: 1fr; gap: 42px; }
  .split-media { order: -1; }
  .cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 43px; height: 48px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy span { font-size: .62rem; }
  .hero { min-height: 720px; }
  .hero-inner { padding: 105px 0 45px; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.7rem); }
  .hero-media img { object-position: 58% center; }
  .quick-card { padding: 22px; }
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .stat-row, .info-band, .content-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
