/* ========================================================================================== */
/* CSS Reset */

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

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;

  font-size: 62.5%;

  font-family: "Outfit", sans-serif;
  font-weight: 400;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

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

/* CSS Reset - END */
/* ========================================================================================== */
/* Root Variables */

:root {
  /* Primary colors */
  --deep-marigold: #f5a722;
  --relatio-green: #aac948;
  --warm-red: #c7464e;
  --deep-teal: #227078;
  /* Secondary colors */
  --soft-marigold: #f9d89a;
  --green-tint: #cfe28f;
  --warm-powder: #f4d2d4;
  --soft-turquoise: #a1e0e2;
  /* Neutral colors */
  --charcoal: #333;
  --light-grey: #ededed;
  --warm-beige: #efe6d6;
  --white: #fff;
}

/* Root Variables - END */
/* ========================================================================================== */
/* Navigation Header */

.header {
  position: absolute;
  width: 100%;
  display: flex;
  background-color: var(--white);
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 5rem;
  z-index: 99;
}

.logo-img {
  height: 5rem;
}

.main-nav {
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

.main-nav-list li {
  position: relative;
}

.nav-title {
  font-size: 1rem;
}

.main-nav-link {
  text-decoration: none;
  position: relative;
}

/* Dropdown hidden by default */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 1.5rem;
  min-width: 200px;
  background-color: var(--white);
  border-radius: 9px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Dropdown content */
.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--charcoal);
}

/* Show on hover over parent li */
.main-nav-list li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-btn {
  background-color: var(--warm-red);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
}

/* Navigation Header - END */
/* ========================================================================================== */
/* Hero Area */

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: -1;
}

.section-hero {
  background-color: transparent;
  height: 100vh;
}

.hero {
  display: flex;
  flex-direction: row;
  max-width: 130rem;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0 5rem;
}

.hero-img-box {
  display: flex;
  flex: 1;
  justify-content: center;
}

.hero-img {
  width: 100%;
  min-width: 10rem;
  max-width: 12rem;
  padding-right: 2rem;
}

.hero-text-box {
  display: flex;
  flex: 3;
  flex-direction: column;
  padding-left: 2rem;
}

.heading-primary {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--charcoal);
  line-height: -0.5px;
  margin-right: 3rem;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--charcoal);
  margin: 1.5rem 2.5rem 3.5rem 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  opacity: 0.8;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.6rem 1rem;
  border-radius: 9px;
  font-weight: 300;
  transition: opacity 1s;
}

.btn:hover {
  opacity: 1;
}

.main {
  background-color: var(--deep-marigold);
  color: var(--white);
}

.secondary {
  background-color: var(--deep-teal);
  color: var(--white);
}

/* Hero Area - END */
/* ========================================================================================== */
/* Unsere Section */

.section-unsere {
  display: flex;
  padding: 5rem;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

.unsere-header {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 0.95;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.unsere-text {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--charcoal);
  margin: 1rem 3.5rem 1.5rem 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.column-one {
}

.column-two {
  display: flex;
  flex-direction: column;
}

.unsere-img {
  width: 100%;
  border-radius: 9px;
}

.padding-left {
  padding-left: 1.5rem;
}

.padding-right-4rem {
  padding-right: 4rem;
}

.stat-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-item-text {
  font-size: 3rem;
  color: var(--deep-marigold);
  font-weight: 600;
}

.stat-item-desc {
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 300;
}

.color-2 {
  color: var(--relatio-green);
}

.color-3 {
  color: var(--deep-teal);
}

/*  - END */
/* ========================================================================================== */
/* Bildungsangebot Seciton */

.bildungsangebot {
  padding: 5rem;
  background-color: var(--warm-beige);
}

.bildungsangebot-header-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem;
}

.text-area {
  max-width: 50rem;
  text-align: center;
}

.bildungsangebot-text {
  font-size: 1.5rem;
  color: var(--charcoal);
}

.bildungsangebot-box-row {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  margin-bottom: 5rem;
}

.bildungsangebot-box {
  background-color: var(--white);
  border-radius: 9px;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  -webkit-box-shadow: 0px 5px 15px 5px #d4d4d4;
  box-shadow: 0px 5px 15px 5px #d4d4d4;
}

.box-icon {
  height: 3rem;
  width: 3rem;
}

.box-title {
  font-weight: 600;
  font-size: 1.5rem;
  padding: 1rem 0;
}

.box-text {
  font-size: 1rem;
}

.box-ul {
  padding: 1rem 0;
}

.box-list-item {
  font-size: 1rem;
  margin-top: 1rem;
  margin-left: 1rem;
}

/* Bildungsangebot Seciton - END */
/* ========================================================================================== */
/* Warum Section */

.warum {
  padding: 5rem;
  background-color: var(--white);
}

.warum-header-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem;
}

.warum-text {
  font-size: 1.5rem;
  color: var(--charcoal);
}

.warum-tile-row {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  margin-bottom: 5rem;
}

.warum-tile {
  background-color: var(--white);
  border-radius: 9px;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  -webkit-box-shadow: 0px 5px 15px 5px #d4d4d4;
  box-shadow: 0px 5px 15px 5px #d4d4d4;
  transition: background-color 500ms;
}

.warum-tile:hover {
  background-color: var(--warm-beige);
}

/* Warum Seciton - END */
/* ========================================================================================== */
/* Logo Seciton */

.unser-logo {
  padding: 5rem;
  background-color: var(--warm-beige);
}

.unser-logo-header-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem;
}

.unser-logo-text-area {
  max-width: 70rem;
  text-align: center;
}

.unser-log-img {
  height: 10rem;
}

/* Logo Seciton - END */
/* ========================================================================================== */
/* Kontaktieren Section */

.kontaktieren {
  padding: 5rem;
  background-color: var(--white);
}

.kontaktieren-header-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem;
}

.kontaktieren-text {
  font-size: 1.5rem;
  color: var(--charcoal);
}

.kontaktieren-tile-area {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-bottom: 5rem;
}

.kontaktieren-tile {
  background-color: var(--warm-beige);
  border-radius: 9px;
  max-width: 40%;
  display: flex;
  flex-direction: column;

  padding: 1.5rem;
  -webkit-box-shadow: 0px 5px 15px 5px #d4d4d4;
  box-shadow: 0px 5px 15px 5px #d4d4d4;
  transition: background-color 500ms;
}

.kontaktieren-input-box {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
}

.kontaktieren-label {
  font-size: 1rem;
  color: var(--charcoal);
  padding-bottom: 0.5rem;
}

.kontaktieren-input {
  height: 40px;
  border-radius: 9px;
  box-shadow: none;
  outline: none;
  border: 1px solid var(--white);
  color: var(--charcoal);
  font-size: 1rem;
  width: 400px;
  padding-left: 1rem;
}

.kontaktieren-textarea {
  height: 80px;
  border-radius: 9px;
  border-color: var(--light-grey);
  color: var(--charcoal);
  font-size: 1rem;
  width: 400px;
  padding-left: 1rem;
  padding-top: 0.5rem;
}

.submit-btn {
  height: 40px;
  width: 400px;
  border-radius: 9px;
  color: var(--white);
  text-align: center;
  border: none;
  box-shadow: 0px 5px 15px 5px #d4d4d4;
  background-color: var(--warm-red);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Kontaktieren Seciton - END */
/* ========================================================================================== */
/* Footer Section */

.footer {
  width: 100%;
  padding: 5rem;
  background-color: var(--charcoal);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-text {
  font-weight: 300;
  font-size: 1rem;
}

.three-column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-col-1 {
  padding-right: 7rem;
  width: 100%;
}

.footer-col-2 {
  padding-top: 1rem;
  width: 100%;
}

.footer-col-3 {
  padding-top: 1rem;
  width: 100%;
}

.footer-col-header {
  font-weight: 600;
  margin-bottom: 2rem;
}

.social-icon-row {
  display: flex;
  gap: 2rem;
}

.social-icon-img {
  height: 2rem;
}

.bottom-text {
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 1rem;
  margin-top: 5rem;
}

.spacer {
  height: 1.2rem;
}






.alert-box {
  max-width: 600px;
  margin: 3rem auto 0 auto;
  padding: 2rem 3rem;
  border-radius: 10px;
  background: #fff3cd;
  color: #856404;
  font-family: sans-serif;
  font-size: 16px;
  border: 1px solid #ffeeba;

  /* Animation */
  opacity: 0;
  transform: translateY(-20px);
  animation: slideFadeIn 0.6s ease-out forwards, pulseGlow 2s ease-in-out 1s infinite;
}

/* Slide + fade in */
@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle glow pulse */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0px rgba(255, 193, 7, 0.4);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.8);
  }
}

.alert-box-header {
  font-weight: 600;
}

.alert-box-text {}

.bold {
  font-weight: 600; 
}