/* ============================================
   STEFAN KOLB | DER HANDWERKSBERATER
   Globales Stylesheet
   Farben: Dunkelblau + Orange
   ============================================ */

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

:root {
  --blue-900: #0a1628;
  --blue-800: #111d35;
  --blue-700: #1a2a4a;
  --blue-600: #243a63;
  --blue-500: #2e4a7d;
  --blue-400: #4a6fa5;
  --blue-300: #7a9cc7;
  --blue-100: #dce6f2;
  --orange-500: #e8720c;
  --orange-400: #f28a2e;
  --orange-300: #f5a623;
  --orange-600: #c45d00;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #eef1f5;
  --gray-200: #d8dee6;
  --gray-300: #b0bac8;
  --gray-600: #5a6577;
  --gray-800: #2d3748;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-600); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-900);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section--dark {
  background: var(--blue-900);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}
.section--dark p {
  color: var(--blue-100);
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav__brand-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-500);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--blue-100);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--orange-400);
}

.nav__cta {
  background: var(--orange-500);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--orange-600);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--orange-500);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--orange-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 114, 12, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--orange-500);
  border: 2px solid var(--orange-500);
}
.btn--secondary:hover {
  background: var(--orange-500);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--blue-900);
}
.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232, 114, 12, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__label {
  display: inline-block;
  background: rgba(232, 114, 12, 0.15);
  color: var(--orange-400);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.hero__text {
  font-size: 1.2rem;
  color: var(--blue-100);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange-400);
  line-height: 1;
}

.hero__stat-text {
  font-size: 0.85rem;
  color: var(--blue-300);
  margin-top: 0.35rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 114, 12, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card__text {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.card__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange-500);
  margin-top: 1rem;
}

.card--highlight {
  border: 2px solid var(--orange-500);
  position: relative;
}

.card--highlight::before {
  content: 'Empfohlen';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 2rem;
}

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

/* --- Checklist --- */
.checklist {
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange-500);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Testimonial --- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange-500);
}

.testimonial__quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.testimonial__author {
  font-weight: 700;
  color: var(--blue-900);
}

.testimonial__role {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* --- Opt-in Form --- */
.optin {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
}

.optin h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.optin p {
  color: var(--blue-100);
  margin-bottom: 1.5rem;
}

.optin__form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
}

.optin__input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.optin__input::placeholder {
  color: var(--blue-300);
}

.optin__input:focus {
  border-color: var(--orange-400);
}

/* --- Steps --- */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step__number {
  counter-increment: step;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--orange-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step__content h3 {
  margin-bottom: 0.35rem;
}

.step__content p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background: var(--blue-900);
  color: var(--blue-100);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__text {
  font-size: 0.9rem;
  color: var(--blue-300);
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--blue-300);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--orange-400);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--blue-400);
}

/* --- Landingpage Hero (smaller) --- */
.hero--landing {
  min-height: auto;
  padding: 8rem 0 5rem;
}

/* --- FAQ --- */
.faq__item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}

.faq__question {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue-900);
}

.faq__question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--orange-500);
  transition: transform var(--transition);
}

.faq__item.active .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq__item.active .faq__answer {
  max-height: 300px;
  padding-top: 0.75rem;
}

/* --- Badge --- */
.badge {
  display: inline-block;
  background: rgba(232, 114, 12, 0.1);
  color: var(--orange-500);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--blue-900);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 1.5rem; }
  .hero__buttons { flex-direction: column; }
  .btn--lg { width: 100%; }
  .optin__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .optin { padding: 2rem; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
}
