/*
Theme Name: Flussangler
Description: Schlankes, responsives Theme für Flussangler.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.2
Text Domain: flussangler
*/

:root {
  --bg-main: #08111f;
  --bg-section: #0d1828;
  --bg-card: #111f31;
  --text-main: #f5f7fb;
  --text-muted: #a9b4c4;
  --cyan: #16c8f4;
  --blue: #2563eb;
  --violet: #9b5cf6;
  --border: rgba(255, 255, 255, 0.10);
  --gradient-primary: linear-gradient(90deg, #16c8f4, #2563eb, #9b5cf6);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --container-width: 1320px;
  --page-padding: 32px;
  --section-spacing: 96px;
  --card-radius: 18px;
  --header-height: 80px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg-main); color: var(--text-main); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.65; overflow-wrap: break-word; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: min(var(--container-width), calc(100% - 2 * var(--page-padding))); margin-inline: auto; }
.section { padding-block: var(--section-spacing); }
h1, h2, h3 { margin: 0 0 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: 68px; }
h2 { font-size: 44px; }
h3 { font-size: 28px; }
p { margin: 0 0 24px; }
small, .text-small { font-size: 14px; }
a { color: var(--cyan); text-underline-offset: 5px; }
a:hover { color: var(--text-main); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
img { max-width: 100%; height: auto; }
.skip-link { position: fixed; top: 8px; left: 18px; z-index: 100; padding: 12px 20px; background: var(--bg-card); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg-main); border-bottom: 1px solid var(--border); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cyan); text-decoration: none; flex-shrink: 0; }
.brand-mark { display: block; width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
.brand-copy { display: flex; flex-direction: column; }
.site-header .header-inner { min-height: 104px; }
.header-logo { display: block; width: 360px; flex-shrink: 0; }
.header-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .site-header .header-inner { min-height: 84px; }
  .header-logo { width: 280px; max-width: calc(100% - 56px); }
}
.brand-name { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; background: var(--gradient-primary); background-clip: text; -webkit-background-clip: text; color: transparent; }
.brand-tagline { margin-top: 5px; color: var(--cyan); font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; }
.nav-list a, .footer-legal a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--text-main); text-decoration: none; font-size: 14px; }
.nav-list a:hover, .nav-list a[aria-current="page"], .footer-legal a:hover { color: var(--cyan); text-decoration: underline; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--text-main); cursor: pointer; }
.menu-icon { width: 22px; display: grid; gap: 5px; }
.menu-icon span { height: 2px; background: currentColor; }
.site-footer { padding-block: 48px 24px; background: var(--bg-section); border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-description { margin: 16px 0 0; font-size: 14px; color: var(--text-muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); }
.copyright { margin: 0; color: var(--text-muted); font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }
.entry + .entry { margin-top: 48px; }
.entry-content > :last-child { margin-bottom: 0; }
@media (max-width: 1199px) {
  :root { --page-padding: 24px; --section-spacing: 72px; --card-radius: 16px; }
  body { font-size: 17px; }
  h1 { font-size: 52px; } h2 { font-size: 36px; } h3 { font-size: 24px; }
  .header-inner { flex-wrap: wrap; gap: 0; }
  .primary-nav { width: 100%; padding-block: 8px 20px; }
  .primary-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { width: 100%; padding: 8px 12px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav[hidden] { display: none; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-nav .nav-list { flex-wrap: wrap; gap: 8px 24px; }
}
@media (max-width: 767px) {
  :root { --page-padding: 18px; --section-spacing: 56px; --card-radius: 14px; --header-height: 68px; }
  body { font-size: 16px; }
  h1 { font-size: 40px; } h2 { font-size: 30px; } h3 { font-size: 22px; }
  .brand-name { font-size: 23px; }
  .brand-mark { width: 64px; height: 64px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 390px) {
  .brand { gap: 8px; }
  .brand-name { font-size: 23px; }
  .brand-tagline { font-size: 8px; }
  .footer-nav .nav-list { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
