/* ===================================================
   GRUNDLAGEN
   =================================================== */

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

:root {
  --navy:      #102A43;
  --petrol:    #0B6E69;
  --gelb:      #F9C74F;
  --orange:    #F9844A;
  --offwhite:  #F8F5EF;
  --anthrazit: #1F2933;
  --grau:      #627D98;
  --hellgrau:  #E8E4DD;
  --weiss:     #FFFFFF;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    12px;
  --radius-sm: 6px;
  --shadow:    0 4px 24px rgba(16, 42, 67, 0.10);
  --shadow-sm: 0 2px 8px  rgba(16, 42, 67, 0.08);

  --max-width: 1140px;
  --narrow:     720px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--anthrazit);
  background: var(--offwhite);
}

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

a {
  color: var(--petrol);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===================================================
   LAYOUT
   =================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--narrow);
}

section {
  padding: 5rem 0;
}

/* ===================================================
   TYPOGRAFIE
   =================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem);   margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem;                  margin-bottom: 0.5rem; }

.section-intro {
  max-width: 680px;
  color: var(--grau);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ===================================================
   BUTTONS
   =================================================== */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--weiss);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: #e8703a;
  border-color: #e8703a;
  text-decoration: none;
}

.btn-secondary {
  background: var(--navy);
  color: var(--weiss);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: #0d2236;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--weiss);
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===================================================
   HEADER
   =================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gelb);
  text-decoration: none;
}

.header-cta {
  white-space: nowrap;
  margin-left: 1rem;
}

/* Burger – nur mobil sichtbar */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--weiss);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===================================================
   HERO
   =================================================== */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4060 100%);
  color: var(--weiss);
  padding: 6rem 0 5rem;
  text-align: center;
}

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

.hero-badge {
  display: inline-block;
  background: var(--gelb);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* Page-Hero Varianten */
.page-hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-hero--gs {
  background: linear-gradient(135deg, #0B6E69 0%, #084e4a 100%);
  color: var(--weiss);
}

.page-hero--gs h1,
.page-hero--ws h1,
.page-hero--contact h1,
.page-hero--danke h1 {
  color: var(--weiss);
}

.page-hero--ws {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  color: var(--weiss);
}

.page-hero--contact,
.page-hero--danke {
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
  color: var(--weiss);
}

.page-hero--gs .hero-sub,
.page-hero--ws .hero-sub,
.page-hero--contact .hero-sub,
.page-hero--danke .hero-sub {
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ===================================================
   CHOICE SECTION (Startseite)
   =================================================== */

.section-choice {
  background: var(--weiss);
}

.section-choice h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.choice-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: var(--offwhite);
  border: 2px solid var(--hellgrau);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s ease;
  color: inherit;
}

.choice-card:hover {
  border-color: var(--petrol);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(-3px);
}

.choice-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.choice-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.choice-card p {
  color: var(--grau);
  flex: 1;
  margin-bottom: 1.25rem;
}

.choice-link {
  color: var(--petrol);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===================================================
   WHY SECTION
   =================================================== */

.section-why {
  background: var(--offwhite);
}

.section-why h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-why > .container > .section-intro {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.why-card {
  background: var(--weiss);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--grau);
  font-size: 0.95rem;
}

.why-highlight {
  text-align: center;
  font-style: italic;
  color: var(--grau);
  font-size: 0.95rem;
}

/* ===================================================
   ANGEBOTE
   =================================================== */

.section-angebote {
  background: var(--offwhite);
}

.section-angebote--team {
  background: var(--weiss);
}

.section-angebote h2 {
  margin-bottom: 0.5rem;
}

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.angebote-grid--2col {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.angebot-card {
  background: var(--weiss);
  border: 1px solid var(--hellgrau);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.angebot-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--weiss);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  align-self: flex-start;
}

.angebot-badge--team {
  background: var(--petrol);
}

.angebot-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
}

.angebot-desc {
  color: var(--grau);
  font-size: 0.95rem;
  line-height: 1.6;
}

.angebot-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  background: var(--offwhite);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grau);
}

.meta-value {
  font-size: 0.9rem;
  color: var(--anthrazit);
  font-weight: 500;
}

/* Kompetenztags */
.angebot-kompetenzen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  background: #e0f0ef;
  color: var(--petrol);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.tag--team {
  background: #e8f4f3;
  color: var(--petrol);
}

/* Details/Summary */
.angebot-inkl {
  border: 1px solid var(--hellgrau);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.angebot-inkl summary {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
  background: var(--offwhite);
  list-style: none;
  user-select: none;
}

.angebot-inkl summary::-webkit-details-marker {
  display: none;
}

.angebot-inkl summary::after {
  content: ' ＋';
  float: right;
  font-weight: 700;
}

.angebot-inkl[open] summary::after {
  content: ' －';
}

.angebot-inkl ul {
  list-style: none;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.angebot-inkl li::before {
  content: '✓ ';
  color: var(--petrol);
  font-weight: 700;
}

.angebot-inkl li {
  font-size: 0.9rem;
  color: var(--anthrazit);
}

/* Footer der Karte */
.angebot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--hellgrau);
}

.angebot-preis {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

/* ===================================================
   ORTE
   =================================================== */

.section-orte {
  background: var(--navy);
  color: var(--weiss);
}

.section-orte h2 {
  color: var(--weiss);
  text-align: center;
  margin-bottom: 2.5rem;
}

.orte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ort-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.ort-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ort-card h3 {
  color: var(--gelb);
  margin-bottom: 0.75rem;
}

.ort-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

/* ===================================================
   CTA SECTION
   =================================================== */

.section-cta {
  background: var(--petrol);
  color: var(--weiss);
  text-align: center;
}

.section-cta h2 {
  color: var(--weiss);
  margin-bottom: 0.75rem;
}

.section-cta p {
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section-cta .btn-outline {
  color: var(--weiss);
  border-color: var(--weiss);
}

.section-cta .btn-outline:hover {
  background: var(--weiss);
  color: var(--petrol);
}

/* ===================================================
   FORMULAR
   =================================================== */

.section-form {
  background: var(--weiss);
}

.anfrage-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

fieldset {
  border: 1px solid var(--hellgrau);
  border-radius: var(--radius);
  padding: 1.5rem 2rem 2rem;
}

/* ===================================================
   FORMULAR – SUBMIT & EXTRAS
   =================================================== */

legend {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grau);
  padding: 0 0.5rem;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-row--2col > .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--anthrazit);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--hellgrau);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--anthrazit);
  background: var(--weiss);
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(11, 110, 105, 0.12);
}

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

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--grau);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--petrol);
  cursor: pointer;
}

.required {
  color: var(--orange);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.alert--error {
  background: #fff0ed;
  border: 1px solid #f9844a;
  color: #c0390a;
}

.form-submit {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.5rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.section-contact-alt {
  background: var(--offwhite);
  padding: 1.5rem 0 2.5rem;
}

.contact-alt-text {
  text-align: center;
  color: var(--grau);
  font-size: 0.95rem;
}

.contact-alt-text a {
  color: var(--petrol);
  font-weight: 600;
}

/* DANKE-SEITE */
.danke-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.danke-contact {
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.85);
}

.danke-contact a {
  color: var(--gelb);
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-row--2col {
    flex-direction: column;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .burger {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .angebote-grid,
  .angebote-grid--2col,
  .choice-grid,
  .why-grid,
  .orte-grid {
    grid-template-columns: 1fr;
  }

  .angebot-meta {
    grid-template-columns: 1fr;
  }
}

