/* ---- CSS RESET & NORMALIZATION ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #20324A;
  background: #FAF6F2;
  line-height: 1.58;
  font-size: 16px;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #20324A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #C65C1A;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Verdana, sans-serif;
  color: #20324A;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 22px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

/* ---- BRAND COLOR SCHEME + SHORTCUTS ---- */
:root {
  --primary: #20324A;
  --secondary: #7995B4;
  --accent: #F5F5F5;
  --warm-bg: #FAF6F2;
  --warm-orange: #FFB980;
  --warm-dark-orange: #C65C1A;
  --warm-yellow: #F8DBA2;
  --shadow-color: rgba(230,140,62,0.09);
  --border-radius: 18px;
  --shadow: 0 4px 28px var(--shadow-color);
  --shadow-soft: 0 2px 8px var(--shadow-color);
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--border-radius);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  margin-bottom: 22px;
  padding-bottom: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* ---- FLEXBOX CARDS ---- */
.card-container, .features-grid, .content-grid, .service-list, .faq-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.card {
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 270px;
  flex: 1 1 300px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover, .feature:hover, .service-card:hover {
  box-shadow: 0 8px 36px rgba(230,140,62,0.17);
  transform: translateY(-3px) scale(1.02);
}

.feature,
.service-card {
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 18px 20px;
  position: relative;
  flex: 1 1 290px;
  margin-bottom: 20px;
  min-width: 265px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.26s, transform 0.19s;
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(90deg, #FFDEC8 0%, #FFEFE1 100%);
  padding: 56px 0 56px 0;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  margin-bottom: 60px;
  box-shadow: 0 3px 10px rgba(199, 92, 26, 0.05);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.3rem;
  color: #C65C1A;
}
.hero p {
  color: #20324A;
  font-size: 1.22rem;
}
@media (max-width: 600px) {
  .hero {
    padding: 32px 0 40px 0;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* ---- BUTTONS / CTA ---- */
.cta, .cta a, button.cta {
  display: inline-block;
  background: linear-gradient(90deg, #FFB980 70%, #F8DBA2 100%);
  color: #20324A;
  font-family: 'Montserrat', Verdana, sans-serif;
  font-weight: 700;
  padding: 13px 30px;
  border: none;
  border-radius: 42px;
  font-size: 1.14rem;
  box-shadow: 0 2px 8px rgba(230,140,62,0.13);
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
  transition: background 0.18s, box-shadow 0.19s, color 0.18s;
}
.cta:hover, .cta:focus, .cta a:hover, .cta a:focus, button.cta:hover {
  background: linear-gradient(90deg, #F8DBA2 20%, #FFB980 90%);
  color: #C65C1A;
  box-shadow: 0 4px 16px rgba(199,92,26,0.19);
}

/* ---- NAVIGATION ---- */
header {
  background: #fff7ee;
  box-shadow: 0 1px 12px rgba(199,92,26,0.10);
  padding: 0;
}
header .container {
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Verdana, sans-serif;
  font-weight: 500;
  color: #20324A;
  font-size: 1.01rem;
  border-radius: 26px;
  padding: 7px 15px;
  transition: background 0.19s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: #FFB980;
  color: #20324A;
}
nav .cta {
  background: linear-gradient(90deg, #FFB980 70%, #F8DBA2 100%);
  color: #20324A;
  box-shadow: 0 2px 8px rgba(230,140,62,0.13);
  font-weight: 600;
  padding: 9px 26px;
  margin-left: 10px;
  border-radius: 30px;
}
nav .cta:hover, nav .cta:focus {
  color: #C65C1A;
  background: linear-gradient(90deg, #F8DBA2 20%, #FFB980 90%);
}

/* Mobile Menu */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  display: none;
  color: #C65C1A;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.19s;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #FFDEC8 0%, #FFEFE1 100%);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.86,.01,.06,.98);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -2px 0 18px rgba(199,92,26,0.14);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  font-size: 2.2rem;
  color: #C65C1A;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 28px 36px 10px 0px;
  cursor: pointer;
  z-index: 1150;
  transition: color 0.18s;
}
.mobile-menu .mobile-menu-close:hover,
.mobile-menu .mobile-menu-close:focus {
  color: #BD4A00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  margin-top: 24px;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Verdana, sans-serif;
  font-size: 1.25rem;
  padding: 14px 10px 14px 4px;
  color: #20324A;
  width: 100%;
  border-radius: 6px;
  transition: background 0.18s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8DBA2;
  color: #C65C1A;
}
@media (max-width: 1024px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ---- FOOTER ---- */
footer {
  background: #20324A;
  color: #fff;
  padding: 50px 0 20px 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-nav a {
  color: #fff7ee;
  font-family: 'Montserrat', Verdana, sans-serif;
  font-size: 1.04rem;
  transition: color 0.17s, background 0.18s;
  border-radius: 24px;
  padding: 7px 11px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB980;
  background: rgba(255,185,128,0.13);
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  border-bottom: 1px solid #3c4b68;
  padding-bottom: 16px;
}
.footer-info img {
  max-width: 165px;
}
.quick-contact span {
  display: block;
  color: #ffeede;
  margin-bottom: 4px;
  font-size: 1rem;
}
.quick-contact a {
  color: #fff7ee;
  text-decoration: underline;
  font-weight: 400;
  transition: color 0.14s;
}
.quick-contact a:hover, .quick-contact a:focus {
  color: #FFB980;
}
.copyright {
  text-align: center;
  font-size: 0.96rem;
  color: #F9E6D1;
  margin-top: 12px;
}
@media (max-width: 800px) {
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    gap: 14px;
    font-size: 0.97rem;
  }
}

/* ---- TESTIMONIAL (Kundenstimmen) ---- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px 20px 24px;
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 270px;
  color: #20324A;
  margin-bottom: 20px;
}
.testimonial-card strong {
  color: #C65C1A;
  font-weight: 700;
  font-size: 1.1em;
}
.testimonial-card span[title] {
  color: #F7B72A;
  margin-left: 6px;
  font-size: 1.09em;
}
.testimonial-card p {
  margin: 0;
  color: #20324A;
  font-size: 1.07em;
}

/* ---- SERVICE LIST ---- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  min-width: 275px;
  max-width: 340px;
  flex: 1 1 252px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.service-price {
  color: #C65C1A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.12em;
  margin-top: 10px;
  background: #f7e5c0;
  border-radius: 12px;
  padding: 7px 14px;
}

/* ---- FAQ LIST ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 16px 24px;
  margin-bottom: 20px;
}
.faq-item h2 {
  font-size: 1.27em;
  color: #C65C1A;
  margin-bottom: 8px;
}
.faq-item p {
  color: #20324A;
}

/* --- OL/LISTS / STEPS --- */
ol {
  padding-left: 28px;
}
li {
  margin-bottom: 10px;
}

/* ---- MAP SECTION (kontakt) ---- */
.map {
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  padding: 20px 18px 19px 18px;
  margin-bottom: 20px;
  color: #20324A;
}

/* ---- STYLE HTML ELEMENTS ---- */
p, ul, ol, li {
  font-size: 1.04rem;
  margin-bottom: 8px;
}
strong {
  color: #20324A;
}

/* ---- TYPOGRAPHY SCALE ---- */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  body { font-size: 15px; }
}

/* ---- VISUAL UTILS ---- */
hr {
  border: none;
  border-top: 1px solid #ffeede;
  margin: 30px 0;
}

/* ---- CARDS / SECTION BGS ---- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature {
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 14px 18px;
  margin-bottom: 20px;
  min-width: 255px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.feature img {
  max-width: 46px;
  margin-bottom: 10px;
}

/* ---- CONTACT CTA ---- */
.contact-cta {
  margin-top: 28px;
  margin-bottom: 22px;
  padding: 15px 17px;
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}
.contact-cta a {
  color: #C65C1A;
  text-decoration: underline;
  font-weight: 500;
}
.contact-cta a:hover, .contact-cta a:focus {
  color: #BD4A00;
}

/* ---- ANIMATION & MICROINTERACTIONS ---- */
.card, .feature, .service-card, .cta, .footer-nav a {
  transition: box-shadow 0.23s cubic-bezier(.65,.13,.14,.86), transform 0.18s, background 0.13s, color 0.13s;
}

.cta:active {
  transform: scale(0.96);
}

/* ---- RESPONSIVE LAYOUTS ---- */
@media (max-width: 1024px) {
  .features-grid, .service-list, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 21px;
    align-items: stretch;
  }
}
@media (max-width: 920px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 3px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 30px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ---- COOKIE BANNER (FIXED) ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 1200;
  background: #fff7ee;
  box-shadow: 0 -4px 20px rgba(199,92,26,0.11);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 22px 16px 18px 16px;
  gap: 18px;
  transition: transform 0.35s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  color: #20324A;
  max-width: 460px;
  font-size: 0.98rem;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Verdana, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 32px;
  border: none;
  margin-left: 7px;
  cursor: pointer;
  background: #FFB980;
  color: #20324A;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(230,140,62,0.10);
  transition: background 0.17s, color 0.11s;
  outline: none;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings-btn:hover {
  background: #C65C1A;
  color: #fff;
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,50,74,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.19s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff7ee;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 36px rgba(199,92,26,0.21);
  padding: 34px 28px 32px;
  width: 95vw;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideModalIn 0.26s cubic-bezier(.79,.22,.14,.86);
}
@keyframes slideModalIn {
  from { transform: translateY(38px) scale(.98); opacity: .7; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #C65C1A;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 2px;
  border-radius: 50%;
  transition: color 0.13s, background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
  background: #C65C1A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 14px 0 15px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffeede;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.98em;
}
.cookie-category label {
  font-family: 'Montserrat', Verdana, sans-serif;
  font-weight: 600;
  color: #20324A;
  margin-right: 10px;
}
.cookie-category input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  accent-color: #FFB980;
}
.cookie-category .essential {
  font-style: italic;
  color: #8a8581;
  font-size: 0.95em;
}

.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Verdana, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 29px;
  border: none;
  cursor: pointer;
  background: #FFB980;
  color: #20324A;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(230,140,62,0.10);
  transition: background 0.19s, color 0.11s;
  outline: none;
}
.cookie-modal .modal-actions button:hover {
  background: #C65C1A;
  color: #fff;
}

/* ---- ACCESSIBILITY OUTLINES ---- */
:focus-visible {
  outline: 2px dashed #C65C1A;
  outline-offset: 2px;
}
button:focus-visible {
  outline: 2px dashed #C65C1A;
  outline-offset: 3px;
}

/* ---- UTILS / ADJUSTMENTS ---- */
.section:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 22px 6px 18px 6px;
    width: 96vw;
    max-width: 99vw;
  }
}

/* --- Print-friendly adjustments --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff !important; }
}
