/* VernetzAkademie – bold-fish-511.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1B4B8A;
  --primary-dark: #123567;
  --accent: #e94560;
  --secondary: #1a1a1a;
  --bg: #ffffff;
  --bg-light: #f4f6fa;
  --text: #1a1a1a;
  --text-gray: #555;
  --text-light: rgba(255,255,255,0.75);
  --border: #d8dde6;
  --form-bg: #eef1f7;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  text-align: center;
  letter-spacing: 0.02em;
  border-radius: 3px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-dark {
  background: #333;
  color: #fff;
}
.btn-dark:hover { background: #555; }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: #c73250; }

/* ===== HEADER ===== */
.site-header {
  background: var(--secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 68px;
}
.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  padding: 8px 15px;
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border: none !important;
  border-radius: 3px;
}
.nav-cta:hover { background: #c73250 !important; border: none !important; border-bottom: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  color: #ddd;
  z-index: 9999;
  display: none;
  border-top: 3px solid var(--primary);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: 0.9rem; line-height: 1.5; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../uploads/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 90px 20px 90px 40px;
  margin: 0 auto 0 calc((100% - var(--max-w)) / 2 + 20px);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 22px;
  border-radius: 2px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-content p {
  font-size: 1.13rem;
  color: rgba(255,255,255,0.83);
  margin-bottom: 34px;
  line-height: 1.72;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats-section {
  background: var(--primary);
  padding: 50px 20px;
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}

/* ===== SECTION SHARED ===== */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 650px;
  line-height: 1.65;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== SERVICES ===== */
.services-section {
  padding: 80px 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(27,75,138,0.13);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.93rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ===== COURSES ===== */
.courses-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.course-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.course-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #c5d3e8;
}
.course-body { padding: 24px; }
.course-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: #e0eaf8;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.course-body h3 {
  font-size: 1.07rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.course-body p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 18px;
}
.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.course-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.course-duration {
  font-size: 0.85rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== SPLIT SECTION ===== */
.split-section {
  padding: 0;
  background: var(--bg);
}
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split-image {
  background-size: cover;
  background-position: center;
  background-color: #c5d3e8;
}
.split-content {
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-list {
  margin: 24px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-gray);
}
.split-list li i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 80px 0;
  background: var(--secondary);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px 28px;
  border-radius: 2px;
}
.testimonial-text {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.author-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: color 0.15s;
}
.faq-question:hover { color: var(--primary); }
.faq-question i { flex-shrink: 0; transition: transform 0.25s; color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 20px;
  background: var(--primary);
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.65);
  padding: 60px 20px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-text { font-size: 1.15rem; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-contacts {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}
.footer-contacts a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-contacts a:hover { color: #fff; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col ul a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: background 0.15s, color 0.15s;
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== CONTACT FORM ===== */
.contact-section { padding: 80px 0; background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.contact-info p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.7; margin-bottom: 26px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 3px;
  width: 18px;
  flex-shrink: 0;
}
.contact-detail span { font-size: 0.95rem; color: var(--text-gray); line-height: 1.5; }
.contact-form { background: var(--form-bg); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  border-radius: 2px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-notice {
  display: none;
  padding: 12px 16px;
  font-size: 0.9rem;
  border-radius: 2px;
  margin-bottom: 16px;
}
.form-notice-error { background: #fdecea; color: #c0392b; border: 1px solid #e8b4b0; }
.form-notice-success { background: #eafaf0; color: #1a7a40; border: 1px solid #a8dfc0; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--secondary);
  padding: 70px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../uploads/hero-bg.webp') center/cover no-repeat;
  opacity: 0.15;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== TEXT PAGE ===== */
.text-section { padding: 80px 0; }
.text-content { max-width: 820px; margin: 0 auto; }
.text-content h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 12px; color: var(--primary); }
.text-content h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
.text-content p { font-size: 0.97rem; color: var(--text-gray); line-height: 1.75; margin-bottom: 16px; }
.text-content ul, .text-content ol {
  margin: 14px 0 20px 20px;
  color: var(--text-gray);
  font-size: 0.97rem;
  line-height: 1.75;
}
.text-content ul { list-style: disc; }
.text-content ol { list-style: decimal; }
.text-content li { margin-bottom: 6px; }
.text-content a { color: var(--primary); text-decoration: underline; }

/* ===== ABOUT PAGE ===== */
.about-section { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.about-img {
  background-size: cover;
  background-position: center;
  height: 420px;
  background-color: #c5d3e8;
}
.about-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.about-text p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.72; margin-bottom: 16px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--border);
}
.team-card .team-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.team-card h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.team-card p { font-size: 0.85rem; color: var(--text-gray); }

/* ===== VALUES ===== */
.values-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  padding: 28px 22px;
  border-top: 4px solid var(--primary);
  background: #fff;
}
.value-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 14px; }
.value-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-gray); line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split-inner { grid-template-columns: 1fr; }
  .split-image { height: 300px; }
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #111;
    display: none;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a:last-child { border-bottom: none; }
  .site-header { position: relative; }
  .services-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .split-content { padding: 40px 20px; }
  .hero-content { padding: 60px 20px; margin-left: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .cookie-inner { flex-direction: column; }
}
