/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #254756;
  background: #F5F5F5;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #254756;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C14A;
}
strong {
  font-weight: 700;
}

/* FONT FAMILIES */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #254756;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.16; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.25rem; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.05rem; }
}

/* LAYOUT CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 10px;
  }
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 2px solid #EAEAEA;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 84px;
}
.logo img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6C14A33;
  color: #254756;
}
.cta-btn {
  margin-left: 12px;
  background: #F6C14A;
  color: #254756;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 1px 10px 0 #25475616;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  letter-spacing: 0.03em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #254756;
  color: #F6C14A;
  box-shadow: 0 3px 16px 0 #25475630;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #254756;
  cursor: pointer;
  margin-left: 16px;
  z-index: 102;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F6C14A;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #254756;
    z-index: 3000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
    box-shadow: 10px 0 35px 0 #25475644;
    overflow-y: auto;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    background: none;
    border: none;
    color: #F6C14A;
    font-size: 2.2rem;
    align-self: flex-end;
    margin: 24px 32px 12px 0;
    cursor: pointer;
    z-index: 3001;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    margin-top: 42px;
  }
  .mobile-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 4px;
    width: 100vw;
    text-align: center;
    transition: background 0.19s, color 0.19s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #F6C14A;
    color: #254756;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(110deg, #F5F5F5 65%, #F6C14A 100%);
  padding: 48px 0 48px 0;
  border-bottom: 2px solid #F6C14A;
  box-shadow: 0 3px 18px 0 #F6C14A13;
}
.hero .container {
  align-items: center;
  justify-content: center;
  display: flex;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 650px;
}
.hero h1 {
  font-size: 2.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #254756;
  margin-bottom: 12px;
  line-height: 1.18;
}
.hero p {
  font-size: 1.22rem;
  color: #254756;
}
@media (max-width: 768px) {
  .hero {
    padding: 25px 0;
    border-bottom-width: 1px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero .container {
    padding: 0 6px;
  }
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2.5px 12px 0 #25475614;
  padding: 28px 20px 20px 20px;
  flex: 1 1 210px;
  min-width: 186px;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 2.5px solid #F6C14A11;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 32px 0 #25475621;
  border-color: #F6C14A77;
  transform: translateY(-3px) scale(1.03);
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
}
.feature h3 {
  font-size: 1.18rem;
  color: #254756;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature {
    min-width: 130px;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature {
    width: 100%;
    min-width: 0;
    padding: 20px 12px 12px 12px;
  }
}

/* SERVICE LIST (Dienstleistungen) */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px #25475610;
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  border-left: 6px solid #F6C14A;
  position: relative;
}
.service-list li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  margin-right: 16px;
}
.service-list strong {
  font-size: 1.12rem;
  display: block;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-list p {
  margin-bottom: 0;
  margin-top: 8px;
  color: #254756;
}
.service-list .price {
  color: #254756;
  background: #F6C14A;
  border-radius: 4px;
  font-weight: 700;
  padding: 2px 10px;
  margin-left: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 700px) {
  .service-list li {
    flex-direction: column;
    gap: 10px;
    padding: 18px 10px 12px 12px;
  }
  .service-list li img {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* CARDS & CONTENT GRIDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1.5px 12px 0 #25475614;
  margin-bottom: 20px;
  padding: 28px 18px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 36px 0 #F6C14A26;
  transform: translateY(-5px);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    padding: 16px 8px;
  }
}

/* TEXT-IMAGE SECTIONS (not prominent in this HTML, but included for spec) */
.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: 20px;
  }
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px #25475610;
  padding: 20px 26px;
  min-width: 220px;
  max-width: 540px;
  margin-bottom: 20px;
  border-left: 5px solid #F6C14A;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 36px #25475616;
  border-left: 5px solid #254756;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #254756;
  font-style: italic;
}
.testimonial-card span {
  color: #254756;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.99rem;
  opacity: 0.85;
  margin-left: 6px;
}
.testimonial-card div {
  font-size: 0.95rem;
  color: #254756;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 14px 10px;
    max-width: 100%;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

/* FEATURE ITEM (utility) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #2547560a;
  padding: 18px 18px 14px 22px;
  margin-bottom: 20px;
  border-left: 6px solid #254756;
}
.faq-list strong {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 3px;
  font-weight: 700;
  display: block;
}
.faq-list p {
  margin-top: 8px;
  color: #254756;
}
@media (max-width: 700px) {
  .faq-list li {
    padding: 11px 7px 9px 10px;
    border-radius: 10px;
  }
}

/* CONTACT DETAILS SHORT */
.contact-details-short, .text-section {
  background: #fff;
  padding: 22px 16px;
  border-radius: 12px;
  border: 1.5px solid #EAEAEA;
  line-height: 1.7;
  font-size: 1.04rem;
}
@media (max-width: 700px) {
  .contact-details-short, .text-section {
    padding: 11px 7px;
  }
}

/* FOOTER */
footer {
  background: #254756;
  color: #fff;
  padding: 38px 0 10px 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 16px;
}
.footer-nav,
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a,
.legal-nav a {
  color: #fff;
  opacity: 0.97;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .legal-nav a:hover,
.footer-nav a:focus, .legal-nav a:focus {
  color: #F6C14A;
  opacity: 1.0;
}
.footer-contact {
  color: #fff;
  font-size: 0.99rem;
  margin-top: 6px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-logo {
    margin-bottom: 12px;
  }
}

/* BUTTONS */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  background: #F6C14A;
  color: #254756;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
button:hover, button:focus {
  background: #254756;
  color: #F6C14A;
  box-shadow: 0 2px 16px #F6C14A22;
}

/* TABLES (for GDPR & Policies) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
th, td {
  border: 1px solid #EAEAEA;
  padding: 10px 4px;
  text-align: left;
}
th {
  background: #F6C14A;
  color: #254756;
}

/* GEOMETRIC DECORATIVE SHAPES */
.section:before {
  content: '';
  display: none;
}
/* Add angular accent for hero */
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: 0; bottom: 0;
  width: 30vw; height: 110px;
  background: #F6C14A22;
  transform: skew(-23deg);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero:after {
    display: none;
  }
}

/* SPACING UTILITIES */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/* TYPOGRAPHIC HIERARCHY */
p, li, ul, ol {
  font-size: 1rem;
  color: #254756;
  margin-bottom: 10px;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 6px;
}

/* SELECTION & FOCUS */
::selection {
  background: #F6C14A;
  color: #254756;
}
a:focus {
  outline: 2px solid #F6C14A;
  outline-offset: 2px;
}
input:focus, textarea:focus, button:focus, select:focus {
  outline: 2px solid #254756;
}

/* ANIMATIONS & TRANSITIONS */
.cta-btn, button, .card, .feature, .testimonial-card, .main-nav a, .mobile-nav a {
  transition: background 0.20s, color 0.18s, box-shadow 0.25s, transform 0.15s;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2.5px solid #F6C14A;
  box-shadow: 0 -5px 24px #25475627;
  padding: 21px 20px 14px 20px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
  z-index: 9000;
  font-size: 1rem;
  justify-content: center;
  animation: slideInUp 0.55s cubic-bezier(0.77,0.2,0.05,1.0);
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #254756;
  max-width: 600px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-consent-btn,
.cookie-settings-btn,.cookie-reject-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  border: none;
  padding: 11px 24px;
  margin: 0 3px;
  cursor: pointer;
}
.cookie-consent-btn {
  background: #F6C14A;
  color: #254756;
  font-weight: 600;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus { background: #254756; color: #F6C14A; }
.cookie-reject-btn {
  background: #EAEAEA;
  color: #254756;
  font-weight: 600;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #254756;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  border: 1.5px solid #F6C14A;
  color: #254756;
  font-weight: 500;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F6C14A77;
  color: #254756;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    font-size: 0.98rem;
    align-items: stretch;
  }
}
@keyframes slideInUp {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  display: none; /* JS toggles display flex */
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 10001;
  background: rgba(37, 71, 86, 0.77);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
}
.cookie-modal-overlay.visible {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 420px;
  width: 92vw;
  box-shadow: 0 8px 38px #25475630;
  padding: 34px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  animation: fromTop 0.42s cubic-bezier(0.77,0.2,0.05,1.0);
}
@keyframes fromTop {
  0% { transform: translateY(-50px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0 14px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5F5F5;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category label {
  margin-left: 11px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 46px;
  height: 24px;
  position: relative;
  border-radius: 14px;
  background: #EAEAEA;
  transition: background 0.19s;
}
.cookie-toggle input[type=checkbox] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle-slider {
  display: block;
  position: absolute;
  left: 2px;
  top: 2.2px;
  width: 20px;
  height: 19px;
  background: #F6C14A;
  border-radius: 12px;
  transition: left 0.19s, background 0.18s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 24px;
  background: #254756;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal button {
  padding: 10px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: #254756;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 14px;
  right: 22px;
  cursor: pointer;
  line-height: 1;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 6px 15px 10px;
  }
}

/* ACCESSIBILITY HINTS */
.sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* END OF CSS */
