/* ==========================================================================
   ACCOUNTING LBS GMBH - APPLE-INSPIRED DESIGN SYSTEM
   Headquarters: Am Strandkai 4, 20457 Hamburg
   HRB 194951 (Amtsgericht Hamburg)
   ========================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  
  /* Apple Signature Color Palette */
  --bg-black: #000000;
  --bg-dark: #070709;
  --bg-card: rgba(22, 22, 27, 0.72);
  --bg-card-hover: rgba(30, 30, 38, 0.85);
  --bg-elevated: #16161b;
  --bg-modal: rgba(16, 16, 20, 0.94);
  
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-tertiary: #6e6e73;
  --text-muted: #515154;
  
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-blue-glow: rgba(0, 113, 227, 0.35);
  --accent-cyan: #2997ff;
  --accent-purple: #af52de;
  --accent-green: #30d158;
  --accent-amber: #ff9f0a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(41, 151, 255, 0.35);
  
  --nav-height: 52px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 980px;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-max: 1200px;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-black);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Selection */
::selection {
  background-color: rgba(41, 151, 255, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #a1a1a6 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #2997ff 0%, #af52de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.eyebrow-pill {
  padding: 6px 14px;
  background: rgba(41, 151, 255, 0.1);
  border: 1px solid rgba(41, 151, 255, 0.25);
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 680px;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 13px 26px;
  box-shadow: 0 4px 20px var(--accent-blue-glow);
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 113, 227, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-medium);
  padding: 13px 26px;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--accent-cyan);
  font-weight: 500;
  font-size: 16px;
  background: none;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost svg {
  transition: transform 0.2s ease;
}

.btn-ghost:hover {
  color: #ffffff;
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(7, 7, 9, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand img, .brand svg {
  width: 28px;
  height: 28px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  font-size: 12px !important;
  padding: 7px 16px !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  padding-top: calc(var(--nav-height) + 70px);
  padding-bottom: 90px;
  overflow: hidden;
  text-align: center;
}

/* Ambient glow in hero */
.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.22) 0%, rgba(175, 82, 222, 0.12) 40%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(42px, 6.8vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 740px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ==========================================================================
   Hero Interactive Dashboard / Mockup (Apple Studio Display Style)
   ========================================================================== */

.dashboard-showcase {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.device-frame {
  max-width: 1040px;
  margin: 0 auto;
  background: #111114;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(41, 151, 255, 0.1);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.device-header {
  height: 44px;
  background: rgba(22, 22, 27, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 18px;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.device-title-bar {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(48, 209, 88, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(48, 209, 88, 0.3);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.device-body {
  padding: 24px 28px;
  background: linear-gradient(180deg, #0e0e12 0%, #08080a 100%);
  text-align: left;
}

/* Dashboard Interactive Tabs */
.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  overflow-x: auto;
}

.dash-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dash-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.dash-tab.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 2px 12px var(--accent-blue-glow);
}

/* Dashboard Metric Cards Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition-fast);
}

.kpi-card:hover {
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.05);
}

.kpi-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
  font-weight: 500;
}

.kpi-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 4px;
}

.kpi-change {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.kpi-change.positive { color: var(--accent-green); }
.kpi-change.neutral { color: var(--accent-cyan); }

/* Dashboard Detail View */
.dashboard-content-panel {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 20px;
}

.chart-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-tag {
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.activity-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.activity-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon.check {
  background: rgba(48, 209, 88, 0.15);
  color: var(--accent-green);
}

.activity-icon.sync {
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-cyan);
}

.activity-icon.star {
  background: rgba(175, 82, 222, 0.15);
  color: var(--accent-purple);
}

.activity-text {
  flex-grow: 1;
}

.activity-title {
  font-weight: 600;
  color: #ffffff;
}

.activity-time {
  color: var(--text-tertiary);
  font-size: 11px;
}

/* ==========================================================================
   Trust Bar / Hanseatic Seal
   ========================================================================== */

.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 14, 0.5);
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent-cyan);
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Bento Grid Section: Core Services
   ========================================================================== */

.section-padding {
  padding: 110px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

/* Subtle glow behind top cards */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

.card-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.card-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #ffffff;
}

.card-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
}

.feature-bullets li svg {
  color: var(--accent-cyan);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Card Visual Containers */
.card-visual {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 16px;
}

/* ==========================================================================
   Interactive Efficiency Calculator
   ========================================================================== */

.calc-container {
  background: linear-gradient(180deg, rgba(22, 22, 28, 0.8) 0%, rgba(12, 12, 15, 0.9) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

.calc-val-pill {
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(41, 151, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.5), 0 0 6px var(--accent-cyan);
  cursor: pointer;
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.result-card {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.result-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-title {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.result-number {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.result-sub {
  font-size: 12px;
  color: var(--accent-green);
  margin-top: 4px;
}

/* ==========================================================================
   Hanseatic Location Section (Am Strandkai 4)
   ========================================================================== */

.location-section {
  background: linear-gradient(180deg, #000000 0%, #0d0e14 50%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.location-visual {
  position: relative;
  background: #141418;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburg-silhouette {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.location-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(41, 151, 255, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-badge-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.location-badge-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact & Consultation Section
   ========================================================================== */

.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card-value {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.contact-card-value:hover {
  color: var(--accent-cyan);
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

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

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 0, 0, 0.6);
}

select option {
  background-color: #16161b;
  color: #ffffff;
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  line-height: 1.4;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-blue);
}

.form-consent a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.form-feedback {
  display: none;
  padding: 16px;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 14px;
}

.form-feedback.success {
  display: block;
  background: rgba(48, 209, 88, 0.15);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   Apple-Style Footer
   ========================================================================== */

.site-footer {
  background-color: #0d0d0f;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 60px 0;
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.6;
}

.footer-disclaimer {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

.footer-disclaimer p {
  margin-bottom: 8px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-legal-links {
  display: flex;
  gap: 18px;
  list-style: none;
}

.footer-legal-links a {
  color: var(--text-tertiary);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Legal Modals (Impressum & Datenschutz)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--bg-modal);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
  position: relative;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-content {
  padding: 30px;
  overflow-y: auto;
  font-size: 14.5px;
  color: #cccccc;
  line-height: 1.7;
}

.modal-content h3 {
  color: #ffffff;
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.modal-content h3:first-child {
  margin-top: 0;
}

.modal-content p {
  margin-bottom: 12px;
}

.modal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Privacy Banner (Apple Style Capsule)
   ========================================================================== */

.privacy-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 22, 27, 0.92);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(25px);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1500;
  max-width: 90%;
  transition: var(--transition-smooth);
}

.privacy-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.privacy-text {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.privacy-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-mini {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .col-8, .col-4, .col-6, .col-12 {
    grid-column: span 1;
  }
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-content-panel {
    grid-template-columns: 1fr;
  }
  .calc-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .privacy-banner {
    flex-direction: column;
    text-align: center;
    border-radius: var(--radius-lg);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
