/* ========================
   CSS RESET & NORMALIZE
============================== */
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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F8F7FA;
  color: #2C2321;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
}

/* =======================
   VINTAGE RETRO PALETTE
========================= */
:root {
  --primary: #154C70;
  --primary-light: #346E97;
  --secondary: #2AB07D;
  --secondary-dark: #1B7F5B;
  --accent: #F8F7FA;
  --vintage-orange: #FFBF69;
  --vintage-red: #EA5455;
  --vintage-cream: #F7E1C6;
  --vintage-navy: #25465D;
  --vintage-brown: #7C5A38;
  --vintage-peach: #FFDDC1;
  --text-main: #2C2321;
  --text-dark: #1F1814;
  --border: #DCDCDA;
  --shadow: 0 6px 24px rgba(60,32,18,0.09), 0 2px 4px rgba(20,36,48,.07);
  --rounded: 14px;
  --radius: 27px;
}

/* =============
   TYPOGRAPHY
=============== */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600,700|Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--accent);
  color: var(--text-main);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Black', Impact, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.6px;
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,188,107,0.07), 0 2px 2px rgba(20,36,48,.06);
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 32px;
  color: var(--secondary-dark);
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 18px;
}
p, ul li, ol li {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-cream);
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
  position: relative;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Vintage Decorative Divider for retro feel */
.section:before {
  content: '';
  display: block;
  width: 85px;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--vintage-orange), var(--vintage-orange) 22px, var(--primary) 22px, var(--primary) 44px);
  border-radius: 8px 8px 10px 10px;
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .15;
  z-index: 1;
}

/* =====================
   HEADER & NAVIGATION
======================== */
header {
  background: var(--vintage-navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 24px rgba(43,34,18,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
  position: relative;
}
header img {
  max-height: 56px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--vintage-peach);
  letter-spacing: .05em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--vintage-orange);
  background: rgba(255,191,105,0.19);
}
.cta-btn {
  display: inline-block;
  font-family: 'Oswald', Arial Black, Impact, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.3px;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 34px;
  margin-left: 24px;
  box-shadow: 0px 7px 27px -2px rgba(42,176,125,0.13);
  border: 3px solid var(--primary);
  transition: background 0.22s, color .18s, border .23s, transform .12s;
  text-shadow: 0 2px 8px rgba(21,76,112,0.04);
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--vintage-orange);
  color: var(--primary);
  border-color: var(--vintage-orange);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 22px -8px var(--secondary-dark);
}

/* ============
  MOBILE MENU
============== */
.mobile-menu-toggle {
  display: none;
  background: var(--vintage-orange);
  color: var(--primary);
  border-radius: 50%;
  font-size: 32px;
  border: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(21,76,112,0.11);
  cursor: pointer;
  margin-left: 12px;
  z-index: 99;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vintage-red);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  background: var(--vintage-cream);
  top: 0;
  right: 0;
  width: 87vw;
  max-width: 320px;
  height: 100vh;
  z-index: 200;
  box-shadow: -16px 0 32px 5px rgba(43,34,18,.09);
  transform: translateX(100%);
  transition: transform 0.40s cubic-bezier(.6,.08,.38,1.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.show {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition-timing-function: cubic-bezier(.62,.13,.5,1);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--vintage-red);
  font-size: 28px;
  align-self: flex-end;
  margin: 20px 20px 6px 0;
  cursor: pointer;
  z-index: 201;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: var(--secondary-dark); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 38px 20px 30px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial Black, sans-serif;
  font-size: 20px;
  color: var(--primary);
  background: none;
  border-radius: 8px;
  padding: 10px 8px 10px 8px;
  transition: background 0.18s, color 0.22s;
}
.mobile-nav a:hover {
  background: var(--vintage-orange);
  color: var(--vintage-navy);
}

@media (max-width: 1100px) {
  nav {
    gap: 16px;
  }
  header .container { padding-right: 8px; }
  .cta-btn { margin-left: 10px; padding: 12px 18px; font-size: 16px; }
}
@media (max-width: 900px) {
  nav { gap: 6px; }
  .cta-btn { font-size: 15px; padding: 12px 7px; margin-left: 5px; }
}
@media (max-width: 840px) {
  nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* =========================
     MAIN & LAYOUT FLEXBOX
============================ */
main {
  margin-bottom: 70px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* FLEX LAYOUTS */
.card-container, .feature-grid, .stat-grid, .pricing-table, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card, .feature, .stat-card, .pricing-plan {
  background: var(--vintage-cream);
  border-radius: var(--radius);
  box-shadow: 0 3px 20px rgba(43,34,18,0.08);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 248px;
  flex: 1 1 280px;
  max-width: 340px;
  border: 1.5px dashed var(--primary-light);
  transition: transform 0.23s, box-shadow .18s;
}
.card:hover, .feature:hover, .pricing-plan:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 48px -18px var(--vintage-brown);
  border-color: var(--secondary-dark);
}
.content-grid { gap: 20px; }
.text-image-section, .testimonial-card, .feature-item, .contact-details {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section {
  flex-direction: row;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 16px 24px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 7px solid var(--vintage-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 3px 24px 0 rgba(73,62,35,0.10);
  max-width: 550px;
  transition: box-shadow .15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 34px -14px var(--primary);
}
.testimonial-card p {
  font-size: 19px;
  color: var(--primary);
  font-style: italic;
  font-family: 'Oswald', 'Arial Black', sans-serif;
  margin-bottom: 12px;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 17px;
  color: var(--vintage-brown);
  font-family: 'Roboto', sans-serif;
}
.feature-grid {
  width: 100%;
  gap: 28px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 240px;
  min-width: 210px;
  align-items: flex-start;
  background: var(--vintage-peach);
  border: 2px solid var(--vintage-orange);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(255,191,105,0.09);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: border 0.21s, box-shadow .16s;
}
.feature img {
  max-width: 48px;
  margin-bottom: 8px;
  filter: grayscale(.11) contrast(1.1) drop-shadow(0 3px 9px rgba(255,191,105,0.16));
}
.feature h3 {
  font-size: 21px;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 10px;
  color: var(--secondary-dark);
  text-shadow: none;
}
.feature p {
  color: var(--text-dark);
}
.stat-grid {
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.stat-card {
  min-width: 170px;
  flex: 1 1 170px;
  background: var(--vintage-cream);
  border-radius: var(--rounded);
  border: 2px dashed var(--vintage-orange);
  box-shadow: 0 7px 28px -10px var(--vintage-orange);
  text-align: center;
  padding: 28px 12px 16px 12px;
  margin-bottom: 20px;
  transition: box-shadow .21s, border-color .18s;
}
.stat-card h3 {
  color: var(--primary-light);
  font-size: 32px;
  margin-bottom: 5px;
  text-shadow: 0 2px 3px rgba(44,35,33,0.05);
}
.stat-card span {
  color: var(--vintage-brown);
  font-family: 'Roboto', Arial, sans-serif;
}

.pricing-table {
  width: 100%;
  gap: 28px;
  justify-content: flex-start;
}
.pricing-plan {
  min-width: 230px;
  flex: 1 1 280px;
  background: var(--vintage-cream);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border .2s, box-shadow .19s;
}
.pricing-plan:hover {
  border-color: var(--secondary);
  box-shadow: 0 7px 37px -17px var(--primary);
}
.pricing-plan h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--secondary-dark);
}
.pricing-plan ul {
  padding: 0 4px 0 0;
  margin-bottom: 11px;
}
.pricing-plan ul li {
  color: var(--text-main);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 15px;
  margin-bottom: 7px;
}
.pricing-plan p {
  margin-top: 19px;
  font-size: 20px;
  font-family: 'Oswald', Arial Black, sans-serif;
  color: var(--primary);
  letter-spacing: 1.5px;
}

.icon-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
}
.icon-highlights img {
  width: 55px;
  height: 55px;
  filter: drop-shadow(0 2px 6px rgba(255,191,105,0.17));
}

ul li, ol li {
  position: relative;
  padding-left: 23px;
  margin-bottom: 10px;
  font-size: 16px;
}
ul li:before {
  content: '\2605';
  font-size: 13px;
  color: var(--vintage-orange);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: inherit;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.contact-details .text-section {
  min-width: 200px;
  flex: 1 1 250px;
  gap: 8px;
}
.contact-details img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.85;
}

/* ==============
    FOOTER
=============== */
footer {
  background: var(--primary);
  padding: 50px 0 18px 0;
  color: var(--vintage-peach);
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 56px; width: auto;
  margin-bottom: 14px;
  filter: grayscale(.10) brightness(.95) drop-shadow(0 3px 10px rgba(255,191,105,0.13));
}
.footer-links, .legal-links, .footer-contact, .social-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a,
.legal-links a {
  font-family: 'Oswald', Arial Black, sans-serif;
  color: var(--vintage-peach);
  letter-spacing: .02em;
  font-size: 16px;
  padding: 3px 0;
  border-radius: 4px;
  transition: color .21s, background .14s;
}
.footer-links a:hover, .footer-links a:focus,
.legal-links a:hover, .legal-links a:focus {
  color: var(--vintage-orange);
  background: rgba(255,191,105,.09);
}
.footer-contact span {
  font-size: 15px;
  color: var(--vintage-peach);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact img {
  width: 18px; height: 18px; opacity: .8; }
.social-media {
  flex-direction: row;
  gap: 21px;
  margin-top: 12px;
}
.social-media a img {
  width: 28px;
  height: 28px;
  filter: grayscale(.07) drop-shadow(0 3px 7px rgba(255,191,105,0.09));
  transition: filter .19s, transform .09s;
}
.social-media a:hover img {
  filter: none;
  transform: scale(1.12) rotate(-6deg);
}

@media (max-width: 950px) {
  footer .container { flex-direction: column; gap: 25px; align-items: flex-start; }
  .footer-logo { margin-bottom: 7px; }
}

/* ===============================
   RESPONSIVE LAYOUTS & FLEX DIR
================================= */
@media (max-width: 900px) {
  .content-grid, .card-container, .feature-grid, .stat-grid, .pricing-table, .icon-highlights, .contact-details {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .stat-card, .pricing-plan, .card {
    min-width: 164px;
    max-width: 96vw;
  }
  .container { padding: 0 6vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 33px; }
  h2 { font-size: 26px; }
  h3 { font-size: 18px; }
  body, p, ul li, ol li { font-size: 15px; }
  .section, section { padding: 27px 8px; margin-bottom: 37px; }
  .content-wrapper { padding: 0; }
  .content-grid, .feature-grid, .stat-grid, .pricing-table, .icon-highlights, .contact-details {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature, .stat-card, .pricing-plan { padding: 20px 10px 16px 10px; margin-bottom: 15px; }
  .icon-highlights img { width: 38px; height: 38px; }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 525px) {
  .container { padding: 0 2vw; }
  .section, section { padding: 17px 3px; margin-bottom: 18px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 16px; }
  .card, .feature, .stat-card, .pricing-plan { min-width: 90vw; max-width: 100vw; padding: 10px 5px; }
}

/* ===============================
   COOKIE BANNER & POPUP MODAL
================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 400;
  background: #fffbe5;
  color: var(--primary);
  padding: 23px 13px 15px 20px;
  box-shadow: 0 -2px 24px -7px var(--primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 22px 22px 0 0;
  transition: transform 0.33s cubic-bezier(.44,1.1,.3,1), opacity .25s;
}
.cookie-banner.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-banner__text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  margin-right: 10px;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Oswald', Arial Black, Impact, sans-serif;
  font-size: 15px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 19px;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.18s, color .18s, box-shadow .15s;
  box-shadow: 0 2px 12px -4px var(--secondary-dark);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--vintage-orange);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--vintage-red);
}
.cookie-btn.reject:hover {
  background: var(--primary-light);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--vintage-orange);
  color: var(--primary);
}
.cookie-btn.settings:hover {
  background: var(--secondary-dark);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 410;
  background: rgba(24,19,14,0.57);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity .28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--vintage-peach);
  color: var(--primary);
  padding: 38px 46px 34px 46px;
  max-width: 440px;
  width: 98vw;
  border-radius: 22px;
  box-shadow: 0 6px 40px -14px var(--primary-light);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: retroPop .48s cubic-bezier(.54,2.7,.46,.89);
}
@keyframes retroPop {
  0% { transform: scale(.82) translateY(70px); opacity:0; }
  60% { transform: scale(1.05) translateY(-9px); opacity:.7; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal__close {
  background: none;
  border: none;
  color: var(--vintage-red);
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 23px;
  cursor: pointer;
  z-index: 412;
  transition: color .14s;
}
.cookie-modal__close:hover {
  color: var(--primary-light);
}
.cookie-modal__title {
  font-family: 'Oswald', Arial Black, Impact, sans-serif;
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 8px;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 7px;
  padding: 8px 15px;
  box-shadow: 0 1px 7px 0 rgba(44,35,33,.07);
  font-size: 16px;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 19px;
  height: 19px;
  margin-right: 4px;
}
.cookie-category.essential label:after {
  content: '(immer aktiv)';
  color: var(--vintage-orange);
  font-size: 13px;
  margin-left: 8px;
  font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 600px) {
  .cookie-modal { padding: 18px 6vw; }
}
@media (max-width: 400px) {
  .cookie-modal { padding: 14px 2vw; }
  .cookie-banner__text { font-size: 15px; }
}

/* ========================
  INTERACTIVITY & EFFECTS
========================== */
.card, .feature, .stat-card, .pricing-plan, .testimonial-card {
  transition: box-shadow 0.16s, border-color .21s, transform .17s;
}
.card:hover, .feature:hover, .stat-card:hover, .pricing-plan:hover {
  box-shadow: 0px 3px 40px -7px var(--primary-light);
  border-color: var(--vintage-orange);
  transform: translateY(-7px) scale(1.021);
}

.cta-btn:active, .cookie-btn:active {
  transform: scale(.98);
}
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px dashed var(--vintage-red);
  outline-offset: 2px;
}

/* ==============
    PRINT
=============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main, .container { padding: 0 !important; }
  .section, section { box-shadow: none; border-radius: 0; }
}
