/* ---- CSS RESET & BASE ---- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F6F6;
  color: #234564;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button { font-family: inherit; font-size: 1rem; border: none; background: none; cursor: pointer; }

/* --- FONT FACES --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:800,700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
:root {
  --primary: #234564;
  --secondary: #F6F6F6;
  --accent: #FFA200;
  --accent-dark: #CC8300;
  --danger: #FF4560;
  --success: #4ED190;
  --info: #4782F8;
  --fun-pink: #FF7A9D;
  --fun-green: #5CF2B4;
  --text-dark: #234564;
  --text-light: #FFF;
  --shadow: 0 6px 16px 0 rgba(40,55,95,0.10);
  --radius-l: 28px;
  --radius-m: 16px;
  --radius-s: 8px;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--secondary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
header nav a {
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-s);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 2px 8px 0 rgba(255,162,0,0.10);
}
.button-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--text-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 13px 28px;
  border-radius: var(--radius-l);
  box-shadow: 0 4px 14px 0 rgba(255,162,0,0.10);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-left: 18px;
  letter-spacing: 0.02em;
  position: relative;
}
.button-primary:after {
  content: '';
  display: block;
  position: absolute;
  left: 20%; right: 20%; top: 80%; height: 6px;
  background: var(--fun-pink);
  border-radius: 14px;
  opacity: 0.18;
  pointer-events: none;
  transition: all 0.2s;
}
.button-primary:hover, .button-primary:focus {
  background: var(--accent-dark);
  color: var(--text-light);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 10px 20px 0 rgba(255,162,0,0.13);
}
.button-primary:hover:after, .button-primary:focus:after {
  opacity: 0.30;
  top: 83%;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--accent);
  border-radius: var(--radius-m);
  padding: 6px 16px;
  color: var(--text-dark);
  box-shadow: 0 2px 14px 0 rgba(255,162,0,0.12);
  margin-left: 14px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--fun-pink);
  color: var(--text-light);
  transform: scale(1.12) rotate(-6deg);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.88,.1,.53,1.01) 0s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.7rem;
  margin: 22px 0 0 22px;
  background: var(--fun-pink);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 5px 16px 6px 15px;
  align-self: flex-start;
  box-shadow: 0 2px 14px 0 rgba(255,122,157,0.11);
  transition: background 0.2s, color 0.2s, transform 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--text-dark);
  transform: scale(1.11) rotate(9deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-top: 44px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  padding: 15px 28px;
  border-radius: var(--radius-s);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  width: 100%;
  transition: background 0.19s, color 0.18s;
  margin: 0 0 6px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* --- MAIN SECTIONS & TYPO --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  margin-top: 18px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  margin-top: 12px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  overflow: visible;
  position: relative;
}
/* Provide color/animated highlight for top hero sections */
section:first-of-type {
  background: linear-gradient(96deg, #ffa2001A 0%, #5cf2b41A 100%);
  border: 2px solid var(--accent);
  box-shadow: 0 8px 24px 0 rgba(255,162,0,0.13);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* --- SPACING & LAYOUT FLEX --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 30px 26px 24px 26px;
  min-width: 260px;
  max-width: 352px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(255,122,157,0.12);
  transform: translateY(-4px) scale(1.01) rotate(-2deg);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  background: #fffbe8;
  border-left: 7px solid var(--accent);
  border-radius: var(--radius-l);
  box-shadow: 0 2px 24px 0 rgba(255,162,0,0.10);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  min-width: 220px;
  max-width: 620px;
  color: var(--primary);
  font-size: 1.07rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
  font-weight: 600;
  opacity: 0.83;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
  margin-bottom: 22px;
}
.service-list > div {
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 28px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  position: relative;
  border: 3px solid var(--fun-pink);
  border-bottom: 7px solid var(--accent);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.16s;
  animation: pop-in-card 0.8s cubic-bezier(.34,1.56,.64,1) 0.08s both;
}
.service-list > div:hover {
  transform: translateY(-7px) scale(1.025) rotate(-2deg);
  box-shadow: 0 10px 38px 0 rgba(92,242,180,0.13);
  border-color: var(--accent);
}
.service-list > div strong { color: var(--accent); font-family: 'Montserrat', Arial, sans-serif; }
.service-list img {
  width: 50px; height: 50px; margin-bottom: 7px;
  animation: bounce-in 1s cubic-bezier(.64,-0.01,.64,1.71) 0.16s both;
}

/* --- EVENT LIST (Seminare) --- */
.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
  margin-bottom: 18px;
}
.event-list > div {
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 350px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 26px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-left: 7px solid var(--fun-green);
  border-bottom: 7px solid var(--accent);
  transition: transform 0.16s, box-shadow 0.18s, border-color 0.18s;
  animation: pop-in-card 0.8s cubic-bezier(.34,1.56,.64,1) 0.13s both;
}
.event-list > div:hover {
  transform: translateY(-5px) scale(1.021) rotate(2deg);
  box-shadow: 0 10px 34px 0 rgba(255,122,157,0.11);
  border-color: var(--accent);
}

/* --- CTA ANIMATION BUTTONS --- */
@keyframes bounce-in {
  0% { transform: scale(0.72); opacity: 0; }
  59% { transform: scale(1.12) rotate(-12deg); opacity: 1; }
  75% { transform: scale(0.98) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes pop-in-card {
  0% { transform: scale(0.90) translateY(22px); opacity: 0; }
  55% { transform: scale(1.06) translateY(-5px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

/* --- LISTS --- */
ul, ol {
  list-style: none;
}
l i, ol li {
  position: relative;
  font-size: 1.04rem;
  padding-left: 0px;
  margin-bottom: 7px;
  line-height: 1.7;
}
section ul li::before, .text-section ul li::before {
  content: '';
  margin-right: 13px;
  width: 16px; height: 16px;
  vertical-align: middle;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent) 44%, var(--fun-pink) 84%);
  display: inline-block;
  box-shadow: 0 0 2px 0 #fff1, 0 1px 3px 0 rgba(0,0,0,0.03);
  position: relative;
  top: 3px;
}
.service-list ul, .event-list ul, .text-section ul { margin-left: 0; margin-top: 8px; }

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 20px 0;
  margin-top: 30px;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
footer nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-s);
  transition: background 0.18s, color 0.14s;
  padding: 4px 10px;
  margin-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
footer .contact-info {
  font-size: .97rem;
  color: #ffeede;
  line-height: 1.8;
  opacity: 0.87;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
  .service-list > div, .event-list > div, .card {
    min-width: 200px;
    max-width: 95vw;
 }
}
@media (max-width: 888px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 888px) {
  header .container { flex-direction: row; gap: 16px; }
  .button-primary { font-size: 1rem; margin-left: 2px; padding: 11px 18px; }
}
@media (max-width: 768px) {
  section {
    padding: 26px 7px;
  }
  .footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .service-list, .event-list, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .service-list > div, .event-list > div, .card {
    min-width: 100%;
    max-width: 100vw;
    padding: 18px 6px 18px 11px;
  }
  .testimonial-card {
    max-width: 100vw;
    min-width: 100px;
    padding: 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 525px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
  header .container { flex-direction: row; gap: 6px; }
}

/* --- ACCESSIBLE FOCUS --- */
:focus-visible {
  outline: 3px dashed var(--accent);
  outline-offset: 4px;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
a, .button-primary, button, .service-list > div, .event-list > div, .card, .testimonial-card {
  transition: all 0.16s cubic-bezier(.5,1.5,.6,1);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 200;
  background: #fffbe8;
  color: var(--primary);
  box-shadow: 0 -4px 24px 0 rgba(255,162,0,0.19);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 34px 22px 24px;
  font-size: 1.07rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookie-banner-in 0.55s cubic-bezier(.23,.98,.23,1.05) 0s both;
}
@keyframes cookie-banner-in {
  0% { transform: translateY(100%); opacity:0; }
  80% { transform: translateY(-10px); opacity:1; }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 340px;
  margin-right: 16px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-banner button {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 12px 0 rgba(255,162,0,0.09);
  margin-left: 0;
  transition: color 0.14s, background 0.16s, transform 0.18s;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-banner button.cookie-settings {
  background: var(--fun-pink);
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: scale(1.07) rotate(-1.5deg);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--info);
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: var(--danger);
  color: #fff;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,69,100,0.41);
  z-index: 9999;
  animation: fade-in 0.22s cubic-bezier(.18,.8,.42,1.1) both;
}
@keyframes fade-in { from{ opacity:0; } to{ opacity:1; } }
.cookie-modal {
  position: fixed;
  left:50%; top: 50%;
  transform: translate(-50%, -52%) scale(0.99);
  background: #fff;
  color: var(--primary);
  min-width: 320px;
  width: 98vw;
  max-width: 440px;
  border-radius: var(--radius-l);
  padding: 36px 32px 24px 32px;
  box-shadow: 0 8px 44px 0 rgba(35, 69, 100,.20);
  z-index: 10000;
  animation: cookie-modal-in 0.38s cubic-bezier(.16,1.26,.25,1) 0s both;
}
@keyframes cookie-modal-in {
  0% { transform: translate(-50%,-50%) scale(0.73); opacity: 0; }
  65% { transform: translate(-50%,-49%) scale(1.08); opacity: 1; }
  100% { transform: translate(-50%,-52%) scale(0.99); }
}
.cookie-modal h2 {
  font-size: 1.37rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal ul {
  margin: 18px 0 20px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-category-toggle {
  appearance: none;
  background: #fff;
  border: 2px solid var(--accent);
  width: 36px; height: 20px;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.2s, border 0.16s;
  margin-left: 14px;
}
.cookie-category-toggle:checked {
  background: var(--fun-green);
  border-color: var(--fun-green);
}
.cookie-category-toggle:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transition: left 0.18s, background 0.22s;
}
.cookie-category-toggle:checked:before {
  left: 18px;
  background: var(--fun-pink);
}
.cookie-modal .cookie-settings-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal button {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 19px;
  border-radius: var(--radius-s);
  box-shadow: 0 2px 12px 0 rgba(255,162,0,0.10);
  transition: background 0.19s, color 0.15s, transform 0.17s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: scale(1.06);
}
.cookie-modal .modal-close {
  position: absolute;
  right: 14px; top: 12px;
  font-size: 2rem;
  background: var(--fun-pink);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 0 12px;
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--danger);
}

/* --- FORMULAR STYLES (kontakt etc.) --- */
input, textarea {
  padding: 11px 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  border-radius: var(--radius-m);
  border: 2px solid var(--accent);
  background: #fff;
  color: var(--primary);
  margin-bottom: 10px;
  transition: border 0.17s;
}
input:focus, textarea:focus {
  border: 2px solid var(--fun-pink);
}

/* --- MISCELLANEOUS --- */
strong {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
em { color: var(--fun-green); font-style: italic; }
mark {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 0 3px;
}

/* --- LINK & ANCHOR STYLES --- */
a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--fun-pink);
}
.text-section a {
  text-decoration: underline dotted;
  color: var(--info);
  font-weight: 700;
}
.text-section a:hover, .text-section a:focus {
  color: var(--fun-pink);
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container { box-shadow: none; background: #fff !important; }
}

/* --- Z-INDEX SANITY --- */
header { z-index: 20; }
.mobile-menu { z-index: 99; }
.mobile-menu-close { z-index: 101; }
.cookie-banner { z-index: 200; }
.cookie-modal-backdrop, .cookie-modal { z-index: 9999; }

/* ---- THEME ---- */
body {
  background: var(--secondary);
}

/* === END === */
