/* --------------------
   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, font, 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 {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  color: #1a1a1a;
  background: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
ul, ol {
  list-style-type: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: #fff;
  color: #1a1a1a;
  border: none;
  outline: none;
}

/* -----------------------
   MONOCHROME PALETTE
-------------------------*/
:root {
  --mono-black: #191a1b;
  --mono-charcoal: #222325;
  --mono-darkgray: #45474a;
  --mono-gray: #818386;
  --mono-lightgray: #D7D7DB;
  --mono-white: #fff;
  --brand-primary: #191a1b;
  --brand-secondary: #fff;
  --brand-accent: #C56604;
  --brand-muted-bg: #F9F7F4;
  --shadow-lg: 0 10px 32px rgba(25,26,27,0.11);
  --shadow-md: 0 2px 8px 0 rgba(25,26,27,0.09);
}

/* ----------------------
   TYPOGRAPHY
------------------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 1em;
  color: var(--mono-charcoal);
}
strong {
  font-weight: 700;
  color: var(--mono-black);
}

/* Hierarchy for links in main-nav and footer */
nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 0.5em 0.95em;
  border-radius: 4px;
  color: var(--brand-primary);
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--mono-charcoal);
  color: var(--brand-secondary);
}

/* ----------------------
   CONTAINER & LAYOUTS
------------------------*/
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
/* Extra spacing for main blocks */
main > section {
  margin-bottom: 60px;
}

/* Flex pattern for cards and content grids */
.card-container, .feature-grid, .team-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: var(--mono-white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(25,26,27,0.20);
  transform: translateY(-5px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-secondary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  filter: grayscale(1) brightness(0.6);
}
.feature-item:hover {
  background: var(--brand-muted-bg);
  box-shadow: 0 4px 16px rgba(49,107,97,0.08);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* -----------
   HEADER
-------------*/
header {
  width: 100%;
  background: var(--brand-secondary);
  box-shadow: 0 2px 12px rgba(25,26,27,0.04);
  transition: box-shadow 0.2s;
  z-index: 100;
}
header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-nav a.btn-primary {
  margin-left: 12px;
}

/* ------------
   HAMBURGER
-------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--mono-black);
  color: var(--brand-secondary);
  font-size: 2rem;
  border-radius: 6px;
  padding: 8px 14px;
  border: none;
  margin-left: 16px;
  transition: background 0.15s;
  z-index: 201;
}
.mobile-menu-toggle:hover {
  background: var(--mono-darkgray);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: var(--mono-black);
  box-shadow: 0 0 80px rgba(25,26,27,0.4);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: left 0.4s cubic-bezier(.83,.04,.17,.99);
}
.mobile-menu.active {
  left: 0;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.25rem;
  position: absolute;
  top: 28px;
  right: 24px;
  z-index: 205;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: var(--brand-accent);
}
.mobile-nav {
  margin-top: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  background: none;
  border-radius: 6px;
  padding: 12px 22px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--brand-accent);
  color: #fff;
}

/* ---------------
   HERO SECTIONS
-----------------*/
.hero {
  background: var(--brand-muted-bg);
  padding: 60px 0;
  margin-bottom: 48px;
}
.hero h1 {
  color: var(--mono-black);
}
.hero p {
  color: var(--mono-darkgray);
  font-size: 1.17rem;
  margin-bottom: 32px;
}
.hero .btn-primary {
  font-size: 1.125rem;
  margin-top: 20px;
}

/* --------------
   FEATURES
----------------*/
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 18px;
}

/* ---------------
    TESTIMONIALS
-----------------*/
.testimonials, .about-testimonials {
  background: var(--brand-secondary);
  padding: 40px 0px;
}
.testimonials h2, .about-testimonials h2 {
  color: var(--mono-black);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--mono-lightgray);
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(25,26,27,0.06);
  margin-bottom: 22px;
  position: relative;
  color: var(--brand-primary);
  font-size: 1.05rem;
  max-width: 700px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card:hover {
  background: #fff;
  box-shadow: 0 1px 20px 0 rgba(25,26,27,0.14);
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0;
  color: var(--mono-black);
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--mono-darkgray);
  margin-left: auto;
  font-style: normal;
}
.rating-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.rating-badges img {
  width: 36px;
  height: 36px;
  filter: grayscale(1) brightness(0.5);
  opacity: 0.8;
}

/* --------------
   CALL TO ACTION
-----------------*/
.cta, .services-cta, .preise-cta, .confirmation-section {
  background: var(--brand-muted-bg);
  padding: 44px 0;
  text-align: left;
}
.cta h2, .services-cta h2, .preise-cta h2, .confirmation-section h1 {
  color: var(--mono-black);
  margin-bottom: 24px;
}
.cta .btn-primary, .services-cta .btn-primary, .preise-cta .btn-primary {
  margin-right: 22px;
}

/* --------------------------
   CONTACT/LOCATION PREVIEW
---------------------------*/
.contact-preview, .kontakt-infos {
  background: var(--brand-secondary);
  padding: 36px 0px 18px 0px;
}
.contact-preview img,
.kontakt-infos img,
.map-placeholder img {
  margin-right: 9px;
  vertical-align: middle;
  filter: grayscale(1) brightness(0.7);
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  background: var(--mono-lightgray);
  border-radius: 10px;
  padding: 12px 18px;
}

/* ---------------
   FOOTER
-----------------*/
footer {
  background: var(--mono-black);
  color: var(--brand-secondary);
  padding: 0;
  font-size: 1rem;
}
.footer-main {
  padding: 44px 0 0 0;
}
.footer-main .container {
  padding-bottom: 0;
}
.footer-main .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 240px;
}
.footer-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin-bottom: 14px;
}
.footer-links a {
  color: var(--brand-secondary);
  padding: 4px 8px;
  font-size: 1rem;
  background: none;
  border-radius: 4px;
  transition: background 0.16s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: var(--brand-accent);
  color: #fff;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 200px;
}
.footer-branding img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
  filter: grayscale(1) brightness(1.1);
}
.footer-branding p {
  color: #bbb;
  font-size: 0.98rem;
  margin-bottom: 10px;
}
.footer-branding .social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-branding .social-icons img {
  width: 32px;
  height: 32px;
  opacity: 0.7;
  filter: grayscale(1) brightness(0.6);
  transition: filter 0.18s, opacity 0.18s;
  cursor: pointer;
}
.footer-branding .social-icons img:hover {
  filter: none;
  opacity: 1;
}
.footer-contact {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact strong {
  color: #fff;
  font-weight: 700;
}
.footer-contact p, .footer-contact a {
  font-size: 0.97rem;
  color: #d2d2d2;
}
/* Remove inter-section margin at footer bottom */
footer .footer-main {
  margin-bottom: 0;
}

/* ------------------
     BUTTONS & LINKS
-------------------*/
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--mono-black);
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 1.14rem;
  font-weight: 700;
  text-align: center;
  border: none;
  box-shadow: 0 4px 16px -4px rgba(25,26,27,0.08);
  letter-spacing: .02em;
  margin-bottom: 6px;
  margin-top: 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
}
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.018);
}
.btn-link {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--mono-black);
  border-bottom: 2px solid var(--brand-accent);
  background: none;
  font-size: 1.07rem;
  font-weight: 500;
  padding: 6px 0px;
  transition: color 0.16s, border-bottom-color 0.16s;
  margin-left: 0;
  margin-bottom: 3px;
}
.btn-link:hover, .btn-link:focus {
  color: var(--brand-accent);
  border-bottom-color: var(--mono-black);
}

/* ----------
   TABLES
------------*/
.preise-tabelle table {
  width: 100%;
  border-collapse: collapse;
  background: var(--brand-secondary);
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.preise-tabelle thead {
  background: var(--mono-black);
}
.preise-tabelle th, .preise-tabelle td {
  padding: 16px 10px;
  text-align: left;
  font-size: 1rem;
}
.preise-tabelle th {
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
}
.preise-tabelle tr {
  border-bottom: 1px solid var(--mono-lightgray);
}
.preise-tabelle tr:last-child {
  border-bottom: none;
}

/* -----------
   FAQ
-------------*/
.faq-section {
  background: var(--brand-secondary);
  border-top: 1px solid var(--mono-lightgray);
  padding: 36px 0;
}
.faq-section ul {
  margin-left: 0;
}
.faq-section li {
  margin-bottom: 18px;
  font-size: 1.03rem;
  color: var(--mono-charcoal);
  line-height: 1.55;
}

/* -----------------------------
   TEAM SECTION (about.html)
------------------------------*/
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 30px;
  align-items: stretch;
}
.team-member {
  background: var(--mono-lightgray);
  border-radius: 12px;
  padding: 28px 22px;
  min-width: 210px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s, background 0.18s;
}
.team-member h3 {
  color: var(--brand-primary);
}
.team-member:hover {
  background: var(--brand-secondary);
  box-shadow: 0 4px 20px rgba(25,26,27,0.14);
}

/* -----------------
   COOKIE BANNER
------------------*/
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: var(--mono-black);
  color: #fff;
  padding: 28px 26px 22px 26px;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(25,26,27,0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 412px;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.25s, transform 0.25s;
  animation: slideUp 0.6s cubic-bezier(0.23,1,0.32,1);
}
@keyframes slideUp {
  from {
    transform: translateY(48px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner .btn-consent {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  border-radius: 22px;
  border: none;
  padding: 10px 23px;
  margin-bottom: 0;
  margin-top: 0;
  background: #fff;
  color: var(--mono-black);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(25,26,27,0.05);
  transition: background 0.19s, color 0.18s, box-shadow 0.17s;
}
.cookie-banner .btn-consent:hover:not(:disabled), .cookie-banner .btn-consent:focus {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: var(--mono-gray);
  color: #fff;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: var(--brand-accent);
  color: #fff;
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,26,27,0.68);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeIn 0.33s cubic-bezier(0.23,1,0.32,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--mono-black);
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(25,26,27,0.24);
  max-width: 425px;
  width: 96vw;
  padding: 36px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popIn 0.4s cubic-bezier(.23,1,.32,1);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.92) translateY(32px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 2rem;
  color: var(--mono-black);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10004;
  opacity: .7;
  transition: opacity 0.14s;
}
.cookie-modal-close:hover {
  opacity: 1;
  color: var(--brand-accent);
}
.cookie-modal h2 {
  font-size: 1.34rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--mono-black);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--brand-accent);
  width: 20px;
  height: 20px;
}
.cookie-category .always-on {
  font-size: 0.97rem;
  color: var(--mono-gray);
  margin-left: 5px;
}

/* -------------
   UTILITIES
----------------*/
.mb24 { margin-bottom: 24px; }
.mt24 { margin-top: 24px; }
.gap20 { gap: 20px; }
.text-center { text-align: center; }

/* -------------
   RESPONSIVE
----------------*/
@media (max-width: 1200px) {
  .container { max-width: 1004px; }
}
@media (max-width: 980px) {
  .container { max-width: 92vw; }
}
@media (max-width: 900px) {
  .footer-main .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links, .footer-branding, .footer-contact {
    min-width: 0;
  }
}
@media (max-width: 820px) {
  .feature-grid, .card-container, .team-grid {
    gap: 18px;
  }
  .card, .feature-item, .team-member {
    padding: 20px 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.13rem; }
  .section, .hero, .cta, .services-cta, .preise-cta, .confirmation-section {
    padding: 30px 5vw;
  }
  .content-wrapper { padding: 0; }
  .feature-item, .team-member { min-width: 160px; }
  .feature-grid, .team-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .footer-branding { align-items: flex-start; }
  .testimonial-card {
    flex-direction: column;
    max-width: 100%;
    gap: 12px;
    padding: 14px 10px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .footer-main .content-wrapper,
  .card-container, .feature-grid, .team-grid, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .header .container { gap: 10px; }
}
@media (max-width: 450px) {
  .cookie-banner { padding: 16px 10px 14px 10px; left: 8px; right: 8px; }
  .section, .hero, .cta, .services-cta, .preise-cta, .confirmation-section { padding: 18px 4vw; }
}

/* -------------------
   MISC.  STYLES
--------------------*/
::selection {
  background: var(--brand-accent);
  color: #fff;
}
hr {
  margin: 32px 0;
  border: 0; height: 1px; background: var(--mono-lightgray);
}

/* Accessibility focus */
:focus-visible {
  outline: 2px dashed var(--brand-accent);
  outline-offset: 2px;
}

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