/* =========================
   RESET & BASE STYLES
========================= */
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, menu, 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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FAFB;
  color: #2b2e32;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #175896;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e99635;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* =========================
   COLOR VARIABLES (Fallbacks provided below)
========================= */
:root {
  --color-primary: #175896;
  --color-secondary: #F1C93A;
  --color-accent: #F8FAFB;
  --color-text: #2b2e32;
  --color-bg: #F8FAFB;
  --color-bg-light: #fffbea;
  --color-success: #63a46c;
  --color-danger: #dc6666;
  --color-warning: #ffc10a;
  --shadow-soft: 0 2px 16px rgba(70,56,30,0.07), 0 1.5px 3px rgba(245,200,70,0.09);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
}

/* =========================
   TYPOGRAPHY SCALE
========================= */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.14;
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}
@media (max-width: 500px) {
  h2, .h2 { font-size: 1.4rem; }
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #634013;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #9f8817;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--color-text);
}
strong, b {
  font-weight: 700;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section, section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 30px 22px;
  min-width: 230px;
  flex: 1 1 270px;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(50, 70, 50, 0.11), 0 5px 20px rgba(245,200,70,0.12);
  transform: translateY(-5px) scale(1.02);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 22px 30px;
  background: #fffbea;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  max-width: 520px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  color: #172134;
  font-size: 1.10rem;
  font-style: italic;
}
.testimonial-card span {
  color: #684f1f;
  font-size: 0.95rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px rgba(217, 170, 70, 0.14), 0 4px 13px rgba(183,149,88,0.12);
  transform: scale(1.025);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   HEADER & MAIN NAVIGATION
========================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(245, 195, 58, 0.065);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  margin-bottom: 10px;
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 18px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 0 22px;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #175896;
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  transition: background 0.17s, color 0.19s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: #f1c93a1a;
  color: #e0812c;
  text-decoration: none;
}

.main-nav img {
  height: 42px;
  border-radius: var(--radius-lg);
}
@media (max-width: 400px) {
  .main-nav img { height: 34px; }
}


/* CTA BUTTON */
.cta-btn {
  background: var(--color-secondary);
  color: #175896;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  font-size: 1.07rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 7px rgba(224,151,50,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  margin-left: 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffe181;
  color: #215ea0;
  box-shadow: 0 6px 32px rgba(224,151,50,0.14);
  transform: translateY(-3px) scale(1.02);
  outline: none;
}

/* ===========
  MOBILE MENU
============ */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #175896;
  font-size: 2.1rem;
  padding: 5px 15px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1.5px 7px rgba(224,151,50,0.09);
  margin-right: 8px;
  border: none;
  cursor: pointer;
  z-index: 120;
}
@media (max-width: 1024px) {
  .main-nav ul, .main-nav .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 13px;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbea;
  z-index: 2004;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.51, 0.01, 0.31, 1);
  box-shadow: 0 8px 32px rgba(224,151,50,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 24px;
  margin-left: 20px;
  font-size: 2rem;
  color: #175896;
  background: #ffe181;
  border: none;
  border-radius: var(--radius-lg);
  padding: 6px 17px 6px 13px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 7px rgba(224,151,50,0.06);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f1c93a;
}
.mobile-nav {
  margin: 48px 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 70vw;
  max-width: 360px;
}
.mobile-nav a {
  color: #175896;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-md);
  padding: 13px 20px;
  background: #fff;
  margin-right: 24px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffe181;
  color: #664a10;
  text-decoration: none;
}
@media (max-width: 500px) {
  .mobile-nav {
    margin: 32px 0 0 10vw;
    gap: 14px;
    width: 78vw;
  }
  .mobile-nav a {
    font-size: 1.08rem;
    padding: 10px 13px;
  }
}

/* mobile nav overlay background for focus trap (optional)
.mobile-menu:after {...} */

/* ========================
   HERO SECTION
======================== */
.hero {
  padding: 36px 0 36px 0;
  background: linear-gradient(115deg, #f1c93a18 40%, #17589613 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-bottom: 50px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero .content-wrapper h1 {
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero .content-wrapper p {
  font-size: 1.13rem;
  color: #4d4418;
  margin-bottom: 26px;
}

/* =========================
   FEATURES & SERVICES
========================= */
.features ul,
.services ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features ul li, .services ul li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 7px rgba(224,151,50, 0.06);
  padding: 11px 18px;
  color: #533617;
  font-size: 1.05rem;
  display: flex; align-items: center;
  gap: 13px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.18s, background 0.16s;
}
.features ul li img, .services ul li img {
  height: 32px; width: 32px;
  min-width: 32px;
  margin-right: 5px;
}
.features ul li:hover, .services ul li:hover {
  box-shadow: 0 5px 20px rgba(224,151,50,0.11);
  background: #fffbea;
}

.services h3 a {
  color: #175896;
  font-size: 1.13rem;
  border-bottom: 2px solid #f1c93a;
  transition: color .18s, border-bottom-color .13s;
}
.services h3 a:hover {
  color: #e0812c;
  border-bottom-color: #e0812c;
}

/* =========================
   CONTACT CARD (KONTAKT)
========================= */
.contact-details-card {
  background: #fffbea;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  margin: 0 0 24px 0;
  display: flex; flex-direction: column; gap: 16px;
  font-size: 1.07rem;
  color: #175896;
  align-items: start;
  max-width: 410px;
}
.contact-details-card p {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #684f1f;
}
.contact-details-card img {
  width: 22px;
  height: 22px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #fff;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -2px 12px rgba(224,151,50, 0.05);
  padding: 38px 0 22px 0;
  margin-top: 48px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-container > div {
  min-width: 170px;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  flex: 1 1 250px;
}
.brand-info img {
  height: 42px;
  border-radius: var(--radius-md);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 160px;
}
.footer-nav a {
  color: #215ea0;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  background: none;
  transition: background 0.15s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #f1c93a2c;
  color: #df9403;
  text-decoration:none;
}
.cta-footer {
  flex: 1 1 160px;
  display: flex;
  align-items: flex-end;
}
.contact-info {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.98rem;
  color: #684f1f;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0;
}
.contact-info img {
  height: 18px; width: 18px;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 22px 0;
    align-items: flex-start;
  }
  .cta-footer {
    align-items: flex-start;
  }
}

/* =========================
   MISC UTILITIES
========================= */
.text-section {
  margin-bottom: 32px;
  font-size: 1.07rem;
  color: #2b2e32;
}
.map-embed {
  margin-top: 18px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 15px 17px;
  box-shadow: var(--shadow-soft);
}
.map-embed h3 {
  margin-bottom: 10px;
}

/* ==============
    CARDS
============== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* =============
   RESPONSIVENESS
============== */
@media (max-width: 768px) {
  .footer-container,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .card {
    min-width: 100%;
    padding: 19px 10px;
  }
}

@media (max-width:500px) {
  .main-nav {
    padding: 10px 4px;
  }
  .hero, .section, section {
    padding: 15px 2px;
  }
  .footer-container {
    padding: 0 3px;
  }
}

/* =========================
   BUTTONS & INTERACTIONS
========================= */
button {
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.18s;
}

/* =============
   ANIMATIONS
============== */
.cta-btn, .footer-nav a, .main-nav ul li a {
  transition: background 0.16s, color 0.15s, box-shadow 0.15s, transform 0.2s;
}

button:focus, a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1.5px;
}

/* ========================
   COOKIE CONSENT BANNER
======================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffbea;
  box-shadow: 0 -2px 22px rgba(224,151,50,0.14);
  padding: 22px 10px 18px 10px;
  z-index: 3500;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s, transform 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 340px;
  font-size: 1.03rem;
  color: #493e14;
  margin-right: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  background: #f1c93a;
  color: #175896;
  border: none;
  margin: 0 2px;
  transition: background 0.16s, color 0.13s, box-shadow 0.19s;
  box-shadow: 0 1.5px 7px rgba(224,151,50,0.11);
}
.cookie-banner .accept-btn {
  background: #f1c93a;
  color: #175896;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #ffe181;
  color: #215ea0;
}
.cookie-banner .reject-btn {
  background: #dc6666;
  color: #fff;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #a72121;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #684f1f;
  border: 1.3px solid #f1c93a;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #f8fa8b;
  color: #2b2e32;
}

/* =========================
   COOKIE MODAL POPUP
========================= */
.cookie-modal {
  position: fixed;
  z-index: 4000;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fffbea;
  box-shadow: 0 6px 42px rgba(224,151,50,0.14);
  border-radius: var(--radius-xl);
  padding: 34px 28px 26px 28px;
  width: 92vw;
  max-width: 400px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -40%) scale(.93);
}
.cookie-modal h2 {
  color: #175896;
  margin-bottom: 12px;
  font-size: 1.24rem;
}
.cookie-modal ul {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.05rem;
  color: #664a10;
  border-radius: var(--radius-sm);
  padding: 2px 2px 2px 0;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal .toggle {
  width: 38px;
  height: 21px;
  position: relative;
  display: inline-block;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f1c93a;
  border-radius: 22px;
  transition: background .22s;
}
.cookie-modal .toggle input:checked + .slider {
  background: #215ea0;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  left: 2.5px;
  bottom: 2.2px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s;
}
.cookie-modal .toggle input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
}
.cookie-modal .cookie-modal-close {
  background: #fff;
  color: #684f1f;
  padding: 8px 18px;
  border: 1.2px solid #f1c93a;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.12s; color 0.14s;
}
.cookie-modal .cookie-modal-close:hover {
  background: #f8fa8b;
  color: #215ea0;
}
.cookie-modal .cookie-modal-save {
  background: #f1c93a;
  color: #175896;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 19px;
}
.cookie-modal .cookie-modal-save:hover {
  background: #ffe181;
}

/* Essential cookies always on */
.cookie-modal .always-on {
  font-size: 0.97rem;
  color: #197362;
  margin-left: 6px;
  font-weight: 600;
}

/* ===========================
   SPACING/ALIGNMENT UTILITIES
=========================== */
.mt-8 { margin-top: 8px!important; }
.mt-16 { margin-top: 16px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-24 { margin-bottom: 24px!important; }
.ml-8 { margin-left: 8px!important; }
.gap-8 { gap: 8px!important; }
.gap-16 { gap: 16px!important; }
.gap-24 { gap: 24px!important; }

/* ===========================
   VISUAL ENHANCEMENTS
=========================== */
section, .card, .testimonial-card, .contact-details-card, .map-embed, .cookie-modal, .cookie-banner {
  border-radius: var(--radius-xl);
}
.card, .testimonial-card, .contact-details-card, .map-embed, .feature-item {
  box-shadow: var(--shadow-soft);
}

::-webkit-scrollbar {
  width: 10px;
  background: #fffbea;
}
::-webkit-scrollbar-thumb {
  background: #f1c93a;
  border-radius: 6px;
}

/* =============================
   PRINT UTILS (for Mein Tag)
============================= */
@media print {
  body, html { background: #fff !important; color: #000 !important; }
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
  .cta-btn { display: none !important; }
  .section, section { box-shadow: none !important; background: #fff !important; color: #000 !important; }
  .card, .testimonial-card { box-shadow: none !important; }
}
