/* ========= RESET & NORMALIZE ========= */
html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F3F7F0;
  color: #23505c;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
a {
  color: #205072;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #46B29D;
}
ul, ol {
  margin-left: 1.2em;
  padding-left: 0.8em;
}

/* ======= BRAND TOKENS ====== */
:root {
  --color-primary: #205072;
  --color-secondary: #46B29D;
  --color-accent: #F3F7F0;
  --color-warm1: #FFEDD6;
  --color-warm2: #F7C873;
  --color-fr-btn: #FFB370;
  --color-text-dark: #205072;
  --color-text-medium: #23505c;
  --color-text-light: #7B8A98;
  --shadow-soft: 0 4px 24px 0 rgba(32,80,114,0.08);
  --shadow-card: 0 2px 8px 0 rgba(70,178,157,0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ====== CONTAINER ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ======= HEADER & NAV ======= */
header {
  background: #FFEDD6;
  box-shadow: 0 2px 12px 0 rgba(32,80,114,0.10);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 44px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px 0 rgba(70,178,157,0.09);
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.main-nav .cta.primary {
  background: linear-gradient(90deg, #F7C873 65%, #FFB370 100%);
  color: #205072;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-left: 8px;
  box-shadow: 0 2px 16px 0 rgba(247,200,115,0.15);
  transition: background 0.18s, transform 0.14s, box-shadow 0.16s;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #46B29D;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(70,178,157,0.16);
}

/* === Mobile Menu Toggle === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-fr-btn);
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: bold;
  border-radius: var(--radius-md);
  padding: 5px 18px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: none;
  line-height: 1;
  margin-left: 8px;
  transition: background 0.2s, transform 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-warm2);
  color: #205072;
  transform: scale(1.08);
}

/* ==== MOBILE MENU OVERLAY ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,237,214,0.97);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.6,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 32px 0 12px 24px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: var(--radius-lg);
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(32,80,114, .10);
  cursor: pointer;
  transition: background 0.16s, transform 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
  transform: scale(1.08);
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 12px;
  gap: 2px;
  align-items: flex-start;
  padding-left: 32px;
  padding-right: 32px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: background 0.17s, color 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-warm2);
  color: #fff;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(180deg, #FFEDD6 75%, #F3F7F0 100%);
  margin-top: 0;
  margin-bottom: 60px;
  padding: 0;
}
.hero .container {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 650px;
  margin-top: 48px;
  margin-bottom: 40px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: #205072;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.hero .subheadline {
  color: #23505c;
  font-size: 1.23rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.hero .cta.primary {
  margin-top: 6px;
}

/* === CTA Buttons === */
.cta {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
  border-radius: var(--radius-md);
  background: var(--color-warm2);
  color: #205072;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(247,200,115,0.13);
  transition: background 0.15s, color 0.14s, transform 0.13s, box-shadow 0.13s;
  border: none;
}
.cta.primary {
  background: linear-gradient(90deg, #F7C873 60%, #FFB370 100%);
  color: #205072;
}
.cta:hover, .cta:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(70,178,157,0.18);
}

/* ====== SECTION SPACING ====== */
.section,
.hero,
.features,
.about,
.contact,
.testimonials,
.card-container {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section,
  .hero,
  .features,
  .about,
  .contact,
  .testimonials,
  .card-container {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .hero .container {
    min-height: 160px;
  }
}

/* ======= FLEX LAYOUTS ======= */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}
.feature-grid,
.feature-list,
.tips-list,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 38px 0 rgba(35,80,92,0.09);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 380px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 16px 36px 0 rgba(70,178,157,0.18);
  transform: translateY(-4px) scale(1.025);
}
.testimonial-card p {
  color: #23505c;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-author {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 600;
  margin-left: 2px;
}
.feature-item,
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px 23px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.17s, transform 0.12s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 38px 0 rgba(70,178,157,0.12);
  transform: translateY(-2px) scale(1.018);
}
.feature img {
  width: 44px; height: 44px;
  margin-bottom: -8px;
  border-radius: var(--radius-sm);
  background: #FFEDD6;
  box-shadow: 0 1px 4px 0 rgba(32,80,114,0.05);
}

/* ======= INFO BOX STYLE ======= */
.info-box {
  background: #FFEDD6;
  border-radius: var(--radius-md);
  padding: 16px 18px 16px 18px;
  color: #205072;
  font-size: 1rem;
  box-shadow: 0 1px 10px 0 rgba(247,200,115,0.09);
  margin-top: 7px;
}

/* ====== LIST STYLES ====== */
ul, ol {
  margin: 16px 0 16px 1.2em;
  padding: 0 0 0 1em;
  list-style-position: inside;
  color: #23505c;
  font-size: 1rem;
}
li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* === CONTACT ADDRESS === */
.address-details {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  max-width: 350px;
  margin-bottom: 24px;
}
.address-details h3 {
  font-family: var(--font-display);
  margin-bottom: 3px;
  color: var(--color-primary);
  font-size: 1.01rem;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.17;
}
h1 {font-size: 2.25rem;}
h2 {font-size: 1.55rem;}
h3 {font-size: 1.18rem;}
h4 {font-size: 1rem;}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.09rem; }
}
p, .subheadline {
  color: var(--color-text-medium);
  font-size: 1.04rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}

/* === RESPONSIVE FLEX LAYOUTS === */
@media (max-width: 1024px) {
  .feature-grid, .feature-list, .tips-list, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-wrapper { gap: 16px; }
  .feature-grid,
  .feature-list,
  .tips-list,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 97vw;
    padding: 18px 11px;
  }
  .feature, .feature-item {
    padding: 16px 11px 13px 13px;
  }
}

/* ============ FOOTER ============ */
footer {
  background: #FFEDD6;
  border-top: 2px solid #f3ddb3;
  margin-top: 48px;
  padding: 0;
  font-size: 1rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: 34px 0 13px 0;
}
.footer-contact img {
  width: 44px;
  height: auto;
  margin-bottom: 12px;
}
.footer-contact address {
  font-style: normal;
  color: #23505c;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
}
.footer-contact img[alt^="Telefon"],
.footer-contact img[alt^="E-Mail"],
.footer-contact img[alt^="Öffnungszeiten"] {
  width: 17px; height: 17px;
  margin-right: 4px;
  vertical-align: middle;
  display: inline-block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #205072;
  font-size: 0.99rem;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  transition: background 0.15s, color 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.footer-social {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 12px;
}
.footer-social img {
  width: 27px; height: 27px;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.17s, transform 0.13s;
}
.footer-social a:hover img, .footer-social a:focus img {
  box-shadow: 0 2px 12px 0 rgba(70,178,157,0.16);
  transform: scale(1.10);
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 19px 0 7px 0;
  }
}

/* ========= COOKIE CONSENT BANNER ========= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8eb;
  box-shadow: 0 0 24px 0 rgba(32,80,114,0.09);
  border-top: 2px solid #F7C873;
  z-index: 2100;
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.33s cubic-bezier(0.6,0,0.2,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  color: #205072;
  font-size: 1rem;
  margin-right: 26px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.15s, color 0.13s, transform 0.13s;
  background: #F7C873;
  color: #205072;
}
.cookie-banner button.accept {
  background: #46B29D;
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #205072;
  color: #fff;
  transform: scale(1.05);
}
.cookie-banner button.reject {
  background: #ffb370;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #F7C873;
  color: #205072;
}
.cookie-banner button.settings-btn {
  background: #FFEDD6;
  color: #205072;
  border: 1px solid #F7C873;
}
.cookie-banner button.settings-btn:hover,
.cookie-banner button.settings-btn:focus {
  background: #fff;
  border: 1px solid #46B29D;
}
@media (max-width: 550px) {
  .cookie-banner {
    padding: 14px 4px 14px 4px;
    gap: 14px;
  }
  .cookie-banner .cookie-btns { gap: 10px; }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,80,114,0.19);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 56px 0 rgba(70,178,157,0.11);
  padding: 36px 28px 26px 31px;
  min-width: 318px;
  max-width: 98vw;
  color: #205072;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popupIn 0.3s cubic-bezier(0.5,0.1,0.5,1) both;
}
@keyframes popupIn {
  0% { opacity: 0; transform: scale(0.92) translateY(28px); }
  85% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  margin-bottom: 3px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-modal .category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  margin-right: 5px;
  accent-color: #46B29D;
}
.cookie-modal .category .always-on {
  color: #46B29D;
  font-weight: 700;
  font-size: 1em;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal .modal-actions button {
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 1em;
  font-weight: 600;
  background: #F7C873;
  color: #205072;
  transition: background 0.13s, color 0.14s;
}
.cookie-modal .modal-actions button.save {
  background: #46B29D;
  color: #fff;
}
.cookie-modal .modal-actions button.save:hover {
  background: #205072;
}
.cookie-modal .modal-actions button.cancel {
  background: #FFEDD6;
}
.cookie-modal .modal-actions button.cancel:hover {
  background: #F7C873;
}
@media (max-width: 530px) {
  .cookie-modal { min-width: 0; padding: 16px 7px; }
  .cookie-modal .modal-actions { flex-direction: column; gap: 10px; }
}

/* =========== MICRO-INTERACTIONS =========== */
.card,
.feature,
.testimonial-card,
.cta,
.footer-social img,
.mobile-menu-toggle,
.main-nav a,
.footer-links a,
.cookie-banner button,
.cookie-modal .modal-actions button {
  transition: box-shadow 0.15s, background 0.18s, color 0.18s, transform 0.14s;
}

.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(70,178,157,0.15);
  transform: scale(1.018) translateY(-2px);
}

/* =========== OVERRIDES & UTILS =========== */
.bg-white { background: #fff !important; }
.bg-primary { background: var(--color-primary) !important; color: #fff !important; }
.rounded { border-radius: var(--radius-md) !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* =========== ACCESSIBILITY & FOCUS =========== */
:focus-visible {
  outline: 2px solid #46B29D;
  outline-offset: 3px;
}

/* ========= END ========= */
