/* =====================================================
   Smart Immo Concept GmbH — Zentrales Stylesheet
   Farben: Dunkelblau #1a2744 | Gold #c9a843
   ===================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:      #1a2744;
  --primary-dark: #111b30;
  --accent:       #c9a843;
  --accent-dark:  #a8893a;
  --light:        #f8f6f1;
  --light-gray:   #e8e4dc;
  --text:         #333333;
  --text-light:   #666666;
  --white:        #ffffff;
  --shadow:       0 4px 20px rgba(26, 39, 68, 0.12);
  --shadow-lg:    0 8px 40px rgba(26, 39, 68, 0.18);
  --radius:       6px;
  --radius-lg:    12px;
  --transition:   all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Open Sans', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--light);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .lead {
  max-width: 600px;
  margin: 0 auto;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 67, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(74, 74, 74, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(60, 60, 60, 0.99);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--primary);
}

/* ── Logo Image in Navbar ── */
.navbar-logo-wrap {
  background: transparent;
  border-radius: var(--radius);
  padding: 5px 14px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar-logo-wrap:hover {
  box-shadow: 0 0 0 2px var(--accent);
}

.navbar-logo {
  height: 70px;
  width: auto;
  display: block;
}

/* ── Logo in Footer ── */
.footer-logo-wrap {
  display: inline-block;
  background: transparent;
  border-radius: var(--radius);
  padding: 6px 14px;
  margin-bottom: 18px;
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(201, 168, 67, 0.1);
}

.nav-link .chevron {
  font-size: 0.6rem;
  transition: var(--transition);
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-top: 3px solid var(--accent);
  margin-top: 0;
  padding-top: 8px;
}

.nav-item:hover .dropdown-menu {
  display: block;
  animation: fadeDown 0.2s ease;
}

.nav-item {
  position: relative;
}

.nav-item:hover {
  z-index: 1001;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: block;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
  border-bottom: 1px solid var(--light-gray);
}

.dropdown-item:last-child { border-bottom: none; }

.dropdown-item:hover {
  background: var(--light);
  color: var(--accent);
  padding-left: 24px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 27, 62, 0.8) 0%, rgba(26, 39, 68, 0.8) 50%, rgba(34, 51, 106, 0.8) 100%),
    url('../images/Hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,67,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,67,0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a843' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 168, 67, 0.15);
  border: 1px solid rgba(201, 168, 67, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero h1 span {
  color: var(--accent);
}

.hero .lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* --- Page Hero (Unterseiten) --- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Page Hero with Background Images */
.page-hero[data-bg="finanzierung"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/Finanzierung.pdf.png');
  background-size: cover;
  background-position: center;
}

.page-hero[data-bg="dienstleistungen"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/Dienstleistungen.pdf.png');
  background-size: cover;
  background-position: center;
}

.page-hero[data-bg="team"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/Team.pdf.png');
  background-size: cover;
  background-position: center;
}

.page-hero[data-bg="rechner"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/Rechner.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero[data-bg="terminbuchung"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/Terminbuchung.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero[data-bg="finanzierungsanfrage"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/Finanzierungsanfrage.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero[data-bg="kontakt"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/Kontakt.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero[data-bg="drohne"] {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.75) 0%, rgba(17, 27, 48, 0.75) 100%),
    url('../images/drohne-6.jpg');
  background-size: cover;
  background-position: center;
  min-height: 600px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a843' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero .lead {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* --- Service Cards --- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, #22336a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  flex-grow: 1;
}

.service-card .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
  margin-top: 20px;
  transition: var(--transition);
}

.service-card .link-more:hover {
  gap: 10px;
}

/* --- Stats / Numbers --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- About Section --- */
.about-text h2 {
  margin-bottom: 20px;
}

.about-text .lead {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-light);
}

.about-features {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-feature::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 10l2 2 4-4' stroke='%231a2744' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.about-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.7) 0%, rgba(34, 51, 106, 0.7) 100%),
    url('../images/About.pdf.png');
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-box .quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
}

.about-image-box .quote::before,
.about-image-box .quote::after {
  content: '"';
  color: var(--accent);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5em;
}

/* --- Team Cards --- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--primary) 0%, #22336a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder svg {
  width: 48px;
  height: 48px;
  fill: rgba(255,255,255,0.6);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.team-info {
  padding: 28px 24px;
}

.team-info h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.team-title {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.team-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 700;
}

.team-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(201,168,67,0.2));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--accent);
  color: var(--primary);
}

.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--text-light); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,168,67,0.1) 0%, transparent 60%);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
  background: var(--accent);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
  transition: var(--transition);
}

.contact-item:hover .contact-item-icon svg {
  fill: var(--white);
}

.contact-item-text strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item-text span, .contact-item-text a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-item-text a:hover { color: var(--accent); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 8px;
}

.hours-table td {
  padding: 6px 0;
  color: var(--text-light);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  width: 45%;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 168, 67, 0.1);
}

.form-control::placeholder { color: #aaa; }

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-success {
  display: none;
  padding: 20px;
  background: #d4edda;
  border-radius: var(--radius);
  color: #155724;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* --- Map Placeholder --- */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  background: var(--light);
  margin-top: 40px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Rechner / Calculator --- */
.rechner-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 40px;
  overflow-x: auto;
}

.rechner-tab {
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
}

.rechner-tab.active,
.rechner-tab:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.rechner-panel {
  display: none;
}

.rechner-panel.active {
  display: block;
}

.rechner-embed-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  border: 2px dashed var(--light-gray);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.rechner-embed-box h3 { color: var(--primary); }
.rechner-embed-box p { color: var(--text-light); max-width: 400px; }
.rechner-embed-box code {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 4px 10px;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-family: monospace;
}

/* --- Feature List --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item-icon {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.feature-item-text h4 { margin-bottom: 4px; font-size: 1rem; }
.feature-item-text p { font-size: 0.875rem; color: var(--text-light); margin: 0; }

/* --- Jotform / Tidycal Embed --- */
.embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.embed-wrapper iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand-name {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.footer-brand .brand-sub {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.footer-contact li strong {
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* --- Accordion (FAQ) --- */
.accordion-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover { background: var(--light); }

.accordion-header .icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-item.open .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* --- Impressum --- */
.impressum-content h2 { margin: 40px 0 16px; font-size: 1.3rem; }
.impressum-content p, .impressum-content ul { color: var(--text-light); }
.impressum-content ul { padding-left: 20px; list-style: disc; }
.impressum-content ul li { margin-bottom: 6px; }

/* --- Bankpartner Carousel --- */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.carousel-item {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  scroll-snap-align: center;
  cursor: pointer;
  padding: 10px;
}

.carousel-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.carousel-item img,
.carousel-item svg {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  width: auto;
  height: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
  border: none;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--primary);
}

.carousel-btn-prev {
  left: -20px;
}

.carousel-btn-next {
  right: -20px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .nav-menu {
    display: none !important;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 75px);
    background: #2a3f5f;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
    gap: 0;
    overflow-y: auto;
    z-index: 1999;
  }

  .nav-menu.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-toggle { display: flex; }

  .nav-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin: 0;
    padding: 0;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 24px !important;
    color: #ffffff;
    background: transparent;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
    border: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(201, 168, 67, 0.2);
    color: var(--accent);
  }

  .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.03);
    border-radius: 0;
    border-top: none;
    margin-top: 0;
    padding: 8px 0;
  }

  .nav-item:hover .dropdown-menu,
  .nav-item.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .dropdown-item {
    color: rgba(255,255,255,0.7);
    border-bottom: none;
    padding: 12px 12px 12px 28px !important;
    font-size: 0.875rem;
  }

  .dropdown-item:hover {
    background: rgba(255,255,255,0.08);
    color: var(--accent);
  }

  .hero { min-height: 100svh; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
}
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; text-align: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { grid-template-columns: 1fr; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }
}
