/*
Theme Name: TV Großwelzheim – Custom Theme
Theme URI: https://example.com/tvgrosswelzheim-custom
Author: Your Name
Author URI: https://example.com
Description: Leichtgewichtiges, block-freundliches WordPress-Theme für einen Sportverein – inspiriert von tvgrosswelzheim.de, aber komplett eigenständig gebaut (ohne Elementor). Enthält Customizer-Optionen für Farben, Logo, Header/Hero und Footer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: tvg
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* 
  Minimal Reset & CSS-Variablen (werden durch den Customizer überschrieben)
*/
:root {
  --tvg-primary: #0b4aa6;
  --tvg-accent: #11a29b;
  --tvg-bg: #ffffff;
  --tvg-text: #111111;
  --tvg-muted: #6b7280;
  --tvg-radius: 12px;
  --tvg-gap: 1.25rem;
  --tvg-maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--tvg-text);
  background: var(--tvg-bg);
  line-height: 1.6;
}

/* Container */
.container {
  width: min(100% - 2rem, var(--tvg-maxw));
  margin-inline: auto;
}

/* Header / Navigation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header .inner {
  display: flex; align-items: center; gap: var(--tvg-gap);
  padding: .8rem 0;
}
.site-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.site-title { font-size: 1.1rem; font-weight: 700; margin: 0; }

.nav-toggle { display:none; background:none; border:none; font-size:1.5rem; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; }
.primary-nav a { text-decoration: none; color: #222; padding: .4rem .3rem; border-radius: .4rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--tvg-primary); }

@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav { display:none; width: 100%; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; padding: .75rem 0; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35)), var(--tvg-hero-image, #0b4aa6);
  background-size: cover; background-position: center;
  color: #fff; padding: clamp(3rem, 7vw, 7rem) 0;
}
.hero .title { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 .6rem; }
.hero .subtitle { font-size: clamp(1rem, 2.8vw, 1.25rem); margin: 0 0 1rem; color: #e6eefc; }
.hero .cta {
  display: inline-block; background: var(--tvg-accent); color: #fff; text-decoration: none;
  padding: .75rem 1rem; border-radius: var(--tvg-radius); font-weight: 600;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--tvg-gap); }
.card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--tvg-radius);
  overflow: clip; background: #fff;
}
.card .media { aspect-ratio: 16/9; background: #f3f4f6; }
.card .body { padding: 1rem; }
.card .meta { color: var(--tvg-muted); font-size: .875rem; }

/* Footer */
.site-footer {
  margin-top: 3rem; padding: 2rem 0; border-top: 1px solid rgba(0,0,0,.06);
  color: var(--tvg-muted);
}
.site-footer a { color: inherit; }
.site-footer .cols { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--tvg-gap); }
.site-footer .bottom { display:flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .9rem; }
*/