/*
Theme Name: blog4
Version: 1.0
Description: Light-themed German financial blog
Author: blog4
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens (Light) ──────────────────────────────── */
:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface2: #EFF1F5;
  --surface3: #E4E7EE;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E4E7EE;
  --accent: #D97706;
  --accent-hover: #B45309;
  --accent-dim: rgba(217,119,6,.08);
  --accent-glow: rgba(217,119,6,.3);
  --radius: 10px;
  --radius-sm: 6px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 20px rgba(0,0,0,.08);
  --max-w: 1100px;
  --nav-h: 64px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface2); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

::selection { background: var(--accent-dim); color: var(--accent); }

/* ── Layout Helpers ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Site Header / Nav ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  flex-shrink: 0;
}

.site-logo-img {
  height: 40px;
  width: auto;
  max-width: 350px;
  max-height: 40px;
  object-fit: contain;
  margin-top: 4px;
}

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .6rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  cursor: pointer;
}

.nav-links > li > a:hover,
.nav-links > li:hover > a { color: var(--accent); background: var(--accent-dim); }

/* Arrow for parent menu items */
.nav-links > li.menu-item-has-children > a::after {
  content: "▾";
  font-size: .65rem;
  margin-left: .3rem;
  transition: transform .2s;
}
.nav-links > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.nav-links .arrow {
  font-size: .65rem;
  transition: transform .2s;
}
.nav-links > li:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: .4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s;
  transform: translateX(-50%) translateY(-6px);
  pointer-events: none;
  z-index: 200;
}

.nav-links > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.sub-menu li a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  font-size: .825rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color .12s, background .12s;
  line-height: 1.4;
}

.sub-menu li a:hover { color: var(--accent); background: var(--accent-dim); }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--text);
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--surface);
  z-index: 99;
  padding: 1rem 1.5rem 2rem;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover { color: var(--accent); }

.mobile-nav .mobile-sub a { padding-left: 1rem; font-size: .9rem; font-weight: 400; color: var(--text-muted); }

/* ── Hero / Front Page ──────────────────────────────────── */
.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); opacity: 1; }

.hero-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 320px;
}

.hero-img {
  background-size: cover;
  background-position: center;
  background-color: var(--surface2);
  min-height: 200px;
  flex-shrink: 0;
}

.hero-card-featured .hero-img { width: 55%; min-height: unset; }

.hero-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }

.hero-cat {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.hero-card-featured .hero-title { font-size: 1.5rem; }

.hero-excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .775rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ── Section Titles ─────────────────────────────────────── */
.section { padding: 3rem 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-link {
  font-size: .8rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity .15s;
}

.section-link:hover { opacity: .75; }

/* ── Article Grid ───────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); opacity: 1; }

.article-img {
  background-size: cover;
  background-position: center;
  background-color: var(--surface2);
  height: 180px;
}

.article-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }

.article-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.article-card:hover .article-title { color: var(--accent); }

.article-meta {
  font-size: .775rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: .5rem;
}

/* ── Site Footer ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 4rem;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy { font-size: .85rem; color: var(--text-muted); }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: .85rem;
  color: var(--text-muted);
  transition: color .15s;
}

.footer-links a:hover { color: var(--accent); }

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

/* ── Page Content ───────────────────────────────────────── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-content h1 { margin-bottom: 1.5rem; font-size: clamp(1.4rem, 4vw, 2rem); }

.page-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.page-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.2rem; font-size: .975rem; }
.page-content a { color: var(--accent); border-bottom: 1px solid var(--accent-glow); }
.page-content strong { color: var(--text); font-weight: 600; }
.page-content ul, .page-content ol { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1.2rem; line-height: 1.8; }
.page-content li { margin-bottom: .4rem; font-size: .975rem; }
.page-content em { color: var(--text-muted); font-style: italic; }

.contact-highlight {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.contact-highlight p { color: var(--text-muted); margin: 0; font-size: .9rem; }
.contact-highlight strong { color: var(--accent); }

/* ── Archive Grid ────────────────────────────────────────── */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

/* ── Single Layout ─────────────────────────────────────── */
.single-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 4rem;
}

.single-toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); }

/* ── TOC ────────────────────────────────────────────────── */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .8rem;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .15rem; }

.toc-item a {
  display: block;
  padding: .3rem .5rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  line-height: 1.4;
  transition: all .15s;
  font-size: .8rem;
}

.toc-item a:hover {
  color: var(--accent);
  background: var(--accent-dim);
  border-left-color: var(--accent);
  opacity: 1;
}

.toc-sub { padding-left: .75rem; }
.toc-sub a { font-size: .775rem; }

/* ── Single Featured Image ────────────────────────────── */
.single-featured-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface2);
}

/* ── Single Header ────────────────────────────────────── */
.single-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.single-header .container { max-width: 1100px; }

.single-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .82rem;
  color: var(--text-muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  transition: color .15s;
}

.back-link:hover { color: var(--accent); }

/* ── Single Content ────────────────────────────────────── */
.single-content { max-width: 720px; padding-bottom: 0; }

.single-content p { font-size: 1.05rem; line-height: 1.8; color: #374151; margin-bottom: 1.4rem; }

.single-content h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
}

.single-content h3 { font-size: 1.1rem; margin: 1.75rem 0 .75rem; color: var(--text); font-weight: 700; }

.single-content strong { color: var(--text); font-weight: 600; }
.single-content a { color: var(--accent); border-bottom: 1px solid var(--accent-glow); }
.single-content ul, .single-content ol { color: #374151; padding-left: 1.5rem; margin-bottom: 1.2rem; line-height: 1.8; }
.single-content li { margin-bottom: .4rem; font-size: 1rem; }


/* ── Author Box ────────────────────────────────────────── */
.author-box {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface2);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.75rem;
  margin-top: 3rem;
}

.author-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.author-avatar svg {
  width: 28px;
  height: 28px;
}

.author-info { flex: 1; }

.author-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .25rem;
}

.author-name { 
  font-size: 1rem; 
  font-weight: 700; 
  color: var(--text); 
  margin-bottom: .35rem; 
}

.author-bio { 
  font-size: .875rem; 
  color: var(--text-muted); 
  line-height: 1.6; 
  margin: 0;
}

/* ── Related Posts ─────────────────────────────────────── */
.related-posts { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }

.related-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}

.related-card:hover { border-color: var(--accent); transform: translateY(-2px); opacity: 1; }

.related-img {
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface2);
}

.related-body { padding: 1rem; }

.related-date { font-size: .72rem; color: var(--text-muted); display: block; margin-bottom: .35rem; }

.related-body h4 { font-size: .85rem; font-weight: 600; color: var(--text); line-height: 1.4; margin: 0; }

.related-card:hover h4 { color: var(--accent); }

/* ── WP Blocks ─────────────────────────────────────────── */
.wp-block-group { margin-bottom: 1.5rem; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .single-layout { grid-template-columns: 1fr; }
  .single-toc { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card-featured { flex-direction: column; }
  .hero-card-featured .hero-img { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .related-grid { grid-template-columns: 1fr; }
  .single-featured-image { height: 260px; }
}

@media (max-width: 640px) {
  .article-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .single-featured-image { height: 220px; }
  .author-box { flex-direction: column; }
}

/* ── About Section ──────────────────────────────────────── */
.about-section {
  padding: 5rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left: editorial text */
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: .3rem .75rem;
  background: var(--accent-dim);
  border-radius: 100px;
}

.about-headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about-headline em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.about-body {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 480px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .65rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background .15s, transform .15s, gap .15s;
}

.about-cta:hover {
  background: var(--accent-hover);
  transform: translateX(2px);
  gap: .75rem;
}

/* Right: stats + visual */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform .2s, box-shadow .2s;
}

.stat-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
  flex-shrink: 0;
  min-width: 60px;
}

.stat-label {
  font-size: .825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Abstract visual: vertical bars */
.about-visual {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  height: 80px;
}

.visual-bar {
  flex: 1;
  background: var(--accent-dim);
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
}

.visual-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  animation: bar-grow 1.5s ease-out forwards;
}

.b1 { height: 60%; }
.b1::after { height: 40%; }
.b2 { height: 80%; }
.b2::after { height: 70%; }
.b3 { height: 50%; }
.b3::after { height: 90%; animation-delay: .2s; }
.b4 { height: 70%; }
.b4::after { height: 55%; animation-delay: .1s; }

@keyframes bar-grow {
  from { height: 0; }
  to { /* uses inline height per bar */ }
}

/* Shield badge */
.visual-badge {
  position: absolute;
  right: 0;
  top: -10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  color: var(--accent);
  font-size: .65rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  width: 70px;
}

.about-visual {
  position: relative;
  padding-right: 80px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-section { padding: 3rem 0; }
  .about-visual { display: none; }
}

/* ── Page Styles ────────────────────────────────────────── */
.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-content {
  max-width: 680px;
  padding-bottom: 4rem;
}

.page-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--accent-dim);
  display: inline-block;
}

.page-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.2rem; font-size: .975rem; }
.page-content a { color: var(--accent); border-bottom: 1px solid var(--accent-glow); }
.page-content strong { color: var(--text); font-weight: 600; }
.page-content ul, .page-content ol { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1.2rem; line-height: 1.8; list-style: disc; }
.page-content li { margin-bottom: .4rem; font-size: .975rem; }
.page-content em { color: var(--text-muted); font-style: italic; }
.page-content input, .page-content select, .page-content textarea { font-family: var(--font); }

/* ── Contact Form ──────────────────────────────────────── */
.kontakt-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1.5rem 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .65rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: .1rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: .825rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s, transform .15s;
  font-family: var(--font);
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .kontakt-form { padding: 1.25rem; }
}

/* ── Professional Footer ────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
  margin-top: 4rem;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* Brand */
.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  display: inline-block;
  margin-bottom: .75rem;
}
.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color .15s, border-color .15s, background .15s;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* Nav columns */
.footer-heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent-dim);
  display: inline-block;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-nav ul li a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color .15s;
}
.footer-nav ul li a:hover { color: var(--accent); }

.footer-disclaimer {
  font-size: .775rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1.25rem;
  padding: .75rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-dim);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
}

.footer-copy {
  font-size: .8rem;
  color: var(--text-muted);
}

  font-size: .775rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34,197,94,.5);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 2.5rem; }
}
