/* ============================================================
   FG Buchhaltungsservice – style.css
   System Fonts (DSGVO-konform, kein externer Abruf)
   ============================================================ */

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --orange:      #F5A623;
  --orange-dk:   #D4911A;
  --dark:        #1A1A1A;
  --gray:        #666666;
  --light-bg:    #F8F8F8;
  --white:       #FFFFFF;
  --text:        #333333;
  --shadow:      0 2px 20px rgba(0,0,0,0.10);
  --radius:      8px;
  --transition:  0.3s ease;
  --nav-height:  200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  max-width: 580px;
}

.section-badge {
  display: inline-block;
  background: rgba(245,166,35,0.12);
  color: var(--orange-dk);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}

.btn-orange:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Navigation
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1A1A1A;
  height: var(--nav-height);
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  background: rgba(26,26,26,0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 180px !important;
  max-width: 700px !important;
  width: auto !important;
}

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

.nav-links > li > a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #fff;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  padding: 0;
  transition: color 0.3s;
  position: relative;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.has-dropdown:hover .nav-dropdown-trigger,
.has-dropdown.open .nav-dropdown-trigger {
  color: #fff;
}

.has-dropdown:hover .nav-dropdown-trigger::after,
.has-dropdown.open .nav-dropdown-trigger::after {
  width: 100%;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  min-width: 210px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 100;
  overflow: hidden;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-dropdown li a:hover {
  background: rgba(245,166,35,0.08);
  color: var(--orange-dk);
}

.nav-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  margin-left: 8px;
  transition: background 0.3s, transform 0.3s;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.nav-cta:hover {
  background: var(--orange-dk);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #1A1A1A;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
  overflow-y: auto;
  padding: 24px 0;
}

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

.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  transition: color 0.3s;
}

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

.mobile-nav .nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  margin-left: 0;
}

.mobile-has-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-nav-dropdown-trigger {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s;
}

.mobile-nav-dropdown-trigger:hover {
  color: var(--orange);
}

.mobile-nav-dropdown {
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mobile-has-dropdown.open .mobile-nav-dropdown {
  display: flex;
}

.mobile-nav-sub {
  font-size: 1rem !important;
  color: rgba(255,255,255,0.7) !important;
}

.mobile-nav-sub:hover {
  color: var(--orange) !important;
}

/* ============================================================
   Hero
   ============================================================ */
#hero {
  min-height: 100vh;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

#hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 540px;
}

.hero-targets {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 30px;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid rgba(245,166,35,0.3);
  border-radius: 14px;
  z-index: -1;
}

/* ============================================================
   Legal Bar
   ============================================================ */
#legal-bar {
  background: #FFF8ED;
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid rgba(245,166,35,0.2);
  padding: 20px 0;
}

.legal-bar-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.legal-bar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.legal-bar-text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.65;
}

.legal-bar-text strong {
  color: #333;
}

/* ============================================================
   Zielgruppen
   ============================================================ */
#zielgruppen {
  padding: 80px 0;
  background: var(--light-bg);
}

.zielgruppen-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.zielgruppen-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.zielgruppen-card:hover {
  border-bottom-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

/* Stretched link covers entire card */
.card-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.zielgruppen-card > *:not(.card-stretched-link) {
  position: relative;
  z-index: 1;
}

.zielgruppen-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1;
}

.zielgruppen-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.zielgruppen-sub {
  font-size: 0.8rem;
  color: var(--orange-dk);
  font-weight: 600;
  margin-bottom: 14px;
}

.zielgruppen-text {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.zielgruppen-btn {
  display: inline-block;
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.3s;
}

.zielgruppen-card:hover .zielgruppen-btn {
  color: var(--orange-dk);
}

/* ============================================================
   Services (shared between Unternehmen + Kanzleien)
   ============================================================ */
#leistungen-unternehmen {
  padding: 96px 0;
  background: #fff;
}

#leistungen-kanzleien {
  padding: 96px 0;
  background: var(--light-bg);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-header .section-sub {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 38px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 3px solid transparent;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

#leistungen-kanzleien .service-card {
  background: #fff;
}

.service-card:hover {
  border-top-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.service-icon-emoji {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1A1A1A;
}

.service-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
}

.service-badge {
  display: inline-block;
  margin-top: 14px;
  background: rgba(245,166,35,0.1);
  color: var(--orange-dk);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* ============================================================
   VLH Banner
   ============================================================ */
.vlh-banner {
  background: #fff;
  border-left: 4px solid var(--orange);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 28px 0;
  margin: 0;
}

.vlh-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.vlh-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.vlh-banner-text {
  flex: 1;
  min-width: 0;
}

.vlh-banner-text p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.vlh-banner-text strong {
  color: #1A1A1A;
}

.vlh-banner-btn {
  white-space: nowrap;
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.3s;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}

.vlh-banner-btn:hover {
  background: var(--orange-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}

/* ============================================================
   Digitalisierung Banner
   ============================================================ */
.digital-banner {
  margin-top: 48px;
  background: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 28px 32px;
}

.digital-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.digital-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.digital-banner-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
}

.digital-banner-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.digital-banner-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.digital-banner-btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.9rem;
  padding: 12px 22px;
}

/* ============================================================
   Warum FG?
   ============================================================ */
#warum-fg {
  padding: 80px 0;
  background: #fff;
}

.warum-header {
  text-align: center;
  margin-bottom: 56px;
}

.warum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.warum-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: 10px;
  transition: all 0.3s;
}

.warum-item:hover {
  background: var(--light-bg);
  transform: translateY(-3px);
}

.warum-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1;
}

.warum-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.warum-item p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================================
   About
   ============================================================ */
#ueber-mich {
  padding: 96px 0;
  background: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 60%;
  height: 40%;
  background: rgba(245,166,35,0.15);
  border-radius: 8px;
  z-index: -1;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-badge {
  background: #fff;
  border: 1.5px solid rgba(245,166,35,0.4);
  color: #333;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
}

.bbh-badge-wrap {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bbh-badge-img {
  max-width: 130px;
  height: auto;
  flex-shrink: 0;
}

.bbh-badge-text {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* ============================================================
   Bewertungen / Google CTA
   ============================================================ */
#referenzen {
  padding: 80px 0;
  background: #fff;
}

.bewertungen-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bewertungen-btn {
  font-size: 1rem;
  padding: 16px 36px;
  margin-top: 4px;
}

.bewertungen-hint {
  font-size: 0.82rem;
  color: #999;
  margin-top: 4px;
}

/* SEO Text Block */
.seo-textblock {
  background: var(--light-bg);
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
}

.seo-textblock p {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   Contact
   ============================================================ */
#kontakt {
  padding: 96px 0;
  background: var(--light-bg);
}

.contact-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.contact-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}

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

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: 6px;
}

#form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

#form-success svg {
  width: 60px;
  height: 60px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 16px;
  display: block;
}

#form-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A1A1A;
}

#form-success p {
  font-size: 0.92rem;
  color: #666;
}

/* ============================================================
   MULTI-STEP WIZARD
   ============================================================ */
.wizard-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
}

/* Progress bar */
.wizard-progress {
  height: 4px;
  background: #eee;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}
.wizard-progress-bar {
  height: 100%;
  background: var(--orange);
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 0%;
}
.wizard-step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Steps */
.wizard-step {
  display: none;
  animation: wizardFadeIn 0.3s ease;
}
.wizard-step.active {
  display: block;
}
@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes wizardFadeBack {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.wizard-step.slide-back {
  animation: wizardFadeBack 0.3s ease;
}

.wizard-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.wizard-step-sub {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.wizard-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Requirement & optional labels */
.req { color: var(--orange); }
.opt { color: #aaa; font-weight: 400; font-size: 0.8em; }
.field-hint {
  display: block;
  font-size: 0.78rem;
  color: #999;
  margin-top: 4px;
}

/* Card grid */
.wizard-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}
@media (max-width: 480px) {
  .wizard-cards { grid-template-columns: 1fr; }
}

.wizard-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  line-height: 1.3;
}
.wizard-card:hover {
  border-color: var(--orange);
  background: #fff8ee;
}
.wizard-card.selected {
  border-color: var(--orange);
  background: #fff8ee;
  box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
  color: var(--dark);
  font-weight: 600;
}
.wcard-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.wcard-label {
  font-size: 0.85rem;
}

/* Navigation */
.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
  justify-content: flex-end;
}
.wizard-btn-back {
  margin-right: auto;
}
.wizard-btn-back.hidden,
.wizard-btn-next.hidden,
.wizard-btn-submit.hidden {
  display: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #ddd;
  color: #666;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Summary */
.wizard-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.summary-row {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 3px solid var(--orange);
  font-size: 0.9rem;
}
.summary-row-label {
  font-weight: 600;
  color: #555;
  min-width: 120px;
  flex-shrink: 0;
}
.summary-row-value {
  color: #333;
}

/* Success screen */
.wizard-success {
  text-align: center;
  padding: 24px 16px 8px;
}
.wizard-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}
.wizard-success-icon svg {
  width: 72px;
  height: 72px;
  overflow: visible;
}
.success-circle {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-miterlimit: 10;
  animation: strokeCircle 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}
.success-check {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.4s cubic-bezier(0.65,0,0.45,1) 0.5s forwards;
}
@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}
@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}
.wizard-success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.wizard-success-text {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Input error state */
.wizard-wrap .form-group input.error,
.wizard-wrap .form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.10);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-card {
  background: #1A1A1A;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.booking-card h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.booking-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.booking-card .btn-orange {
  display: block;
  width: 100%;
  text-align: center;
}

.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-info-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 18px;
}

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

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(245,166,35,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}

.contact-item-text strong {
  display: block;
  color: #333;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  height: 170px !important;
  max-width: 700px !important;
  width: auto !important;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-legal-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  margin-top: 14px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
}

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

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}

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

/* ============================================================
   Cookie Banner
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: auto;
  right: 20px;
  z-index: 9999;
  max-width: 480px;
  margin-left: auto;
  background: #1A1A1A;
  color: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#cookie-banner.hidden {
  display: none;
}

#cookie-banner p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

#cookie-banner a {
  color: var(--orange);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-accept {
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.3s;
  font-family: inherit;
}

.cookie-accept:hover {
  background: var(--orange-dk);
}

.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.cookie-reject:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ============================================================
   Legal Pages (Impressum / Datenschutz)
   ============================================================ */
.legal-page {
  padding: 96px 0 80px;
  min-height: 60vh;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  margin-top: calc(var(--nav-height) + 32px);
  color: #1A1A1A;
}

.legal-content .breadcrumb {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 40px;
}

.legal-content .breadcrumb a {
  color: var(--orange);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--orange);
  text-decoration: underline;
}

.legal-content .info-box {
  background: var(--light-bg);
  border-left: 3px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }

  .hero-sub {
    max-width: 100%;
  }

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

  .about-image-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  .warum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .zielgruppen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #hero h1 {
    font-size: 2rem;
  }

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

  .warum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .footer-brand {
    grid-column: auto;
    max-width: 100%;
  }

  #leistungen-unternehmen,
  #leistungen-kanzleien,
  #ueber-mich,
  #kontakt,
  #warum-fg {
    padding: 64px 0;
  }

  #zielgruppen,
  #referenzen {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

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

  .wizard-wrap {
    padding: 24px 20px;
  }
  .wizard-cards {
    grid-template-columns: 1fr;
  }
  .summary-row {
    flex-direction: column;
    gap: 4px;
  }
  .summary-row-label {
    min-width: unset;
  }

  .vlh-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .digital-banner-inner {
    flex-direction: column;
  }

  .digital-banner-content {
    flex-direction: column;
    gap: 10px;
  }

  .digital-banner-btn {
    width: 100%;
    text-align: center;
  }

  #cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
