/* TextKraft Akademie — warm-song-868.css */

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #E53D1B;
  --navy:      #121422;
  --charcoal:  #262E3C;
  --slate:     #4D4F59;
  --silver:    #84929E;
  --light-silver: #B2B6C1;
  --off-white: #FCFCFD;
  --whisper:   #F2F2F4;
  --white:     #ffffff;
  --black:     #000000;
  --radius:    6px;
  --shadow:    0 4px 24px rgba(18,20,34,.12);
  --trans:     .3s ease;
  --container: 1100px;
  --font-body: "Montserrat", sans-serif;
  --font-head: "Lora", serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw + .5rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw + .5rem, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p  { font-size: 1.05rem; color: var(--slate); }

.label-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.red-dot { color: var(--red); }

.highlight {
  position: relative;
  display: inline;
  background: linear-gradient(120deg, rgba(229,61,27,.15) 0%, rgba(229,61,27,.15) 100%);
  border-radius: 3px;
  padding: 0 4px;
}

/* ========================================
   LAYOUT
   ======================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { padding: 90px 0; }

.section-inner { max-width: 900px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans);
  text-transform: uppercase;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: #c43418; border-color: #c43418; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover { background: var(--charcoal); border-color: var(--charcoal); }

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--trans), box-shadow var(--trans);
  padding: 18px 0;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO SVG */
.site-logo { flex-shrink: 0; }
.site-logo svg { height: 44px; width: auto; }

/* Hamburger */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-overlay-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  max-width: var(--container);
  padding: 40px 24px;
  width: 100%;
}

.menu-col h3 {
  color: var(--red);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.menu-nav a {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.5rem;
  padding: 6px 0;
  transition: color var(--trans);
}
.menu-nav a:hover { color: var(--red); }

.menu-contact p, .menu-contact a {
  color: var(--light-silver);
  font-size: .95rem;
  line-height: 1.8;
  display: block;
}
.menu-contact a:hover { color: var(--white); }

.menu-social { display: flex; gap: 16px; margin-top: 16px; }
.menu-social a {
  color: var(--light-silver);
  font-size: 1.1rem;
  transition: color var(--trans);
}
.menu-social a:hover { color: var(--red); }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../pictures/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .4;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--red); }
.hero .sub {
  font-size: 1.15rem;
  color: var(--light-silver);
  margin-bottom: 2.2rem;
  max-width: 540px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========================================
   ABOUT STRIP
   ======================================== */
.about-strip { background: var(--whisper); padding: 60px 0; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.strip-item .num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
}
.strip-item p { font-size: .9rem; margin-top: 4px; }

/* ========================================
   COURSES (FLIP CARDS)
   ======================================== */
.courses-section { background: var(--white); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.flip-card { perspective: 1000px; min-height: 280px; }
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  transition: transform .6s ease;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.flip-front {
  background: var(--off-white);
  border: 1px solid var(--whisper);
}
.flip-front i {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 16px;
}
.flip-front h3 { font-size: 1.1rem; color: var(--navy); }

.flip-back {
  background: var(--navy);
  transform: rotateY(180deg);
}
.flip-back h3 { color: var(--white); margin-bottom: 12px; }
.flip-back p { color: var(--light-silver); font-size: .9rem; }
.flip-back .btn {
  margin-top: 20px;
  padding: 10px 22px;
  font-size: .8rem;
}

/* ========================================
   TESTIMONIAL
   ======================================== */
.testimonial { background: var(--off-white); text-align: center; }
.testimonial-inner { max-width: 720px; margin: 0 auto; }
.quote-icon {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 24px;
  line-height: 1;
}
.testimonial blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 24px;
}
.testimonial cite {
  font-size: .85rem;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.testimonial cite span { display: block; color: var(--silver); font-weight: 400; margin-top: 3px; }

/* ========================================
   SERVICES (HOVER BOXES)
   ======================================== */
.services-section { background: var(--navy); }
.services-section h2 { color: var(--white); }
.services-section .label-tag { color: rgba(229,61,27,.85); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.hover-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--trans);
  cursor: default;
}
.hover-box:hover {
  background: var(--red);
  border-color: var(--red);
}
.hover-box i {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 16px;
  transition: color var(--trans);
}
.hover-box:hover i { color: var(--white); }
.hover-box h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.hover-box p { color: var(--light-silver); font-size: .88rem; }
.hover-box:hover p { color: rgba(255,255,255,.85); }

/* ========================================
   PRICING
   ======================================== */
.pricing-section { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.price-card {
  border: 2px solid var(--whisper);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--trans);
  position: relative;
}
.price-card:hover, .price-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.price-card.featured::before {
  content: "Beliebteste Wahl";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.price-card h3 { font-size: 1rem; font-family: var(--font-body); color: var(--slate); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.price-card .price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.price-card .price span { font-size: 1rem; color: var(--silver); }
.price-card ul { margin: 20px 0; text-align: left; }
.price-card ul li {
  font-size: .88rem;
  color: var(--slate);
  padding: 6px 0;
  border-bottom: 1px solid var(--whisper);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card ul li i { color: var(--red); font-size: .75rem; }

/* ========================================
   FAQ
   ======================================== */
.faq-section { background: var(--off-white); }
.faq-list { margin-top: 40px; max-width: 780px; }

.faq-item {
  border-bottom: 1px solid var(--whisper);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question i { color: var(--red); transition: transform var(--trans); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer p { padding-bottom: 20px; font-size: .95rem; }

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  background: var(--red);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner .btn-outline { border-color: var(--white); }
.cta-banner .btn-outline:hover { background: var(--white); color: var(--red); }

/* ========================================
   FINAL CTA (2-col)
   ======================================== */
.final-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}
.final-cta-text {
  background: var(--navy);
  padding: 80px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.final-cta-text h2 { color: var(--white); margin-bottom: 16px; }
.final-cta-text p { color: var(--light-silver); margin-bottom: 28px; }
.final-cta-image {
  background-image: url('../pictures/cta-bg.webp');
  background-size: cover;
  background-position: center;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer { background: var(--charcoal); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo svg { height: 38px; }
.footer-desc { color: var(--light-silver); font-size: .9rem; margin-top: 16px; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-nav a, .footer-contact a, .footer-contact p {
  display: block;
  color: var(--light-silver);
  font-size: .9rem;
  padding: 4px 0;
  transition: color var(--trans);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { color: var(--silver); font-size: .82rem; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--silver); font-size: 1rem; transition: color var(--trans); }
.footer-social a:hover { color: var(--red); }

/* ========================================
   COOKIES GDPR
   ======================================== */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 3px solid var(--red);
  padding: 18px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .5s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { color: var(--light-silver); font-size: .88rem; flex: 1; min-width: 240px; }
.cookie-bar p a { color: var(--red); text-decoration: underline; }
.cookie-bar-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-bar .btn { padding: 10px 22px; font-size: .8rem; }

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  background: var(--navy);
  padding: 140px 0 70px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--light-silver); font-size: 1.05rem; }

/* ========================================
   CONTACT FORM (quick-contact)
   ======================================== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 20px; color: var(--navy); }
.contact-info p, .contact-info a {
  color: var(--slate);
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-info i { color: var(--red); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--whisper);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--charcoal);
  background: var(--off-white);
  margin-bottom: 16px;
  transition: border-color var(--trans);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--red);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ========================================
   HISTORY PAGE (about-style)
   ======================================== */
.history-section { background: var(--white); }
.history-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}
.history-grid.reverse { direction: rtl; }
.history-grid.reverse > * { direction: ltr; }
.history-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.history-img img { width: 100%; height: 360px; object-fit: cover; }

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-section { background: var(--white); }
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 12px; color: var(--navy); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--charcoal); }
.legal-content p { margin-bottom: 14px; font-size: .95rem; }
.legal-content ul { margin: 12px 0 14px 20px; list-style: disc; }
.legal-content ul li { font-size: .95rem; color: var(--slate); padding: 3px 0; }

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .menu-overlay-inner { grid-template-columns: 1fr 1fr; }
  .menu-col:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; }
  .final-cta-image { min-height: 280px; }
  .history-grid, .history-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .menu-overlay-inner { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .final-cta-text { padding: 60px 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
