/* --- CLAIMBRO THEME -- Dark Mode / Glassmorphismus --- */

/* 1. Lokal gehostete Schriften (DSGVO-konform, kein Google Fonts Request) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. CSS Variablen (Brand Kit) */
:root {
  /* Hintergrund & Flächen */
  --bg-dark: #0B0C10; /* Sehr dunkles Anthrazit */
  --surface-dark: rgba(25, 26, 35, 0.6); /* Für Glass-Cards */
  --surface-border: rgba(255, 255, 255, 0.08); /* Feine Rahmen */
  
  /* Form- und Input-Flächen */
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.1);

  /* Markenfarben aus Logo */
  --brand-cyan: #5DE1E6;      /* Türkis "BRO" */
  --brand-blue: #2A8BF2;      /* Blau Mitte */
  --brand-purple: #6B46FF;    /* Violett Links */
  
  /* Verläufe */
  --gradient-primary: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-blue) 50%, var(--brand-cyan) 100%);
  --gradient-accent: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);

  /* Textfarben */
  --text-main: #FFFFFF;
  --text-muted: #A0AAB2;
  --text-inverse: #000000; /* Text auf hellen Buttons */

  /* UI Eigenschaften */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  /* Abstände */
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
}

/* 3. Globale Resets & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  background-color: var(--bg-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 4. Typografie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--brand-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* Hervorhebungen mit Gradient */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 5. Layout & Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

main {
  flex: 1; /* Pushed footer down */
  padding: var(--space-xl) 0;
}

/* --- Header / Navigation --- */
header {
  border-bottom: 1px solid var(--surface-border);
  background: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo Bild - Da das Bild jetzt sauber beschnitten und transparent ist, brauchen wir keine Hacks mehr! */
.logo-img {
  height: 52px; /* Vorher 38px, jetzt ca. 40-50% größer! */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(93, 225, 230, 0.2)); /* Subtiler Glow rund um das freigestellte Logo */
  transition: filter 0.3s ease;
}

.logo-img:hover {
  filter: drop-shadow(0 0 12px rgba(93, 225, 230, 0.5)); /* Wird heller beim Hover */
}

nav ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--brand-cyan);
  text-decoration: none;
}

/* --- UI Elemente: Buttons & Cards --- */

/* Glass Card Component */
.glass-card {
  background: var(--surface-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 225, 230, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(93, 225, 230, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(93, 225, 230, 0.4);
  transform: translateY(-2px);
  color: var(--text-inverse);
  text-decoration: none;
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-cyan);
  border: 1px solid var(--brand-cyan);
}

.btn-secondary:hover {
  background: rgba(93, 225, 230, 0.1);
  color: var(--brand-cyan);
  text-decoration: none;
}

/* --- Spezifische Layouts --- */

/* Hero Section */
.hero {
  text-align: center;
  padding: calc(var(--space-xl) * 1.5) 0;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* Feature Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

/* Docs Layout */
.docs-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
}

.docs-sidebar h4 {
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.docs-nav {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.docs-nav li {
  margin-bottom: 8px;
}

.docs-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-left: -8px;
}

.docs-nav a:hover, .docs-nav a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--brand-cyan);
  text-decoration: none;
}

.docs-content {
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

/* Formulare & Typografie für Docs/Legal */
.content-body h2 {
  margin-top: var(--space-lg);
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 8px;
}

.content-body h3 {
  margin-top: var(--space-md);
  font-size: 1.25rem;
}

.content-body ul, .content-body ol {
  margin-left: 20px;
  margin-bottom: var(--space-md);
}

.content-body li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  border-top: 1px solid var(--surface-border);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--surface-border);
  font-size: 0.85rem;
  color: rgba(160, 170, 178, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: var(--space-md) 0;
    gap: var(--space-md);
  }
  
  .docs-layout {
    grid-template-columns: 1fr;
  }
  
  .docs-sidebar {
    position: static;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}
