/* ================================================
   Grundreset und globale Einstellungen
   ================================================ */

/* roboto-100 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/roboto-v47-latin_math_symbols-100.woff2') format('woff2'); 
}

/* roboto-100italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('fonts/roboto-v47-latin_math_symbols-100italic.woff2') format('woff2'); 
}

/* roboto-200 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/roboto-v47-latin_math_symbols-200.woff2') format('woff2'); 
}

/* roboto-200italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 200;
  src: url('fonts/roboto-v47-latin_math_symbols-200italic.woff2') format('woff2'); 
}

/* roboto-300 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/roboto-v47-latin_math_symbols-300.woff2') format('woff2'); 
}

/* roboto-300italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/roboto-v47-latin_math_symbols-300italic.woff2') format('woff2'); 
}

/* roboto-regular - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v47-latin_math_symbols-regular.woff2') format('woff2'); 
}

/* roboto-italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/roboto-v47-latin_math_symbols-italic.woff2') format('woff2'); 
}

/* roboto-500 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/roboto-v47-latin_math_symbols-500.woff2') format('woff2'); 
}

/* roboto-500italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/roboto-v47-latin_math_symbols-500italic.woff2') format('woff2'); 
}

/* roboto-600 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/roboto-v47-latin_math_symbols-600.woff2') format('woff2'); 
}

/* roboto-600italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/roboto-v47-latin_math_symbols-600italic.woff2') format('woff2'); 
}

/* roboto-700 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-v47-latin_math_symbols-700.woff2') format('woff2'); 
}

/* roboto-700italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/roboto-v47-latin_math_symbols-700italic.woff2') format('woff2'); 
}

/* roboto-800 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/roboto-v47-latin_math_symbols-800.woff2') format('woff2'); 
}

/* roboto-800italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/roboto-v47-latin_math_symbols-800italic.woff2') format('woff2'); 
}

/* roboto-900 - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/roboto-v47-latin_math_symbols-900.woff2') format('woff2'); 
}

/* roboto-900italic - latin_math_symbols */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/roboto-v47-latin_math_symbols-900italic.woff2') format('woff2'); 
}

/*
#801853
#538018
#B6A897
#747452
*/

:root {
    --deep-purple: rgba(128, 24, 83, 1);
    --forest-green: rgba(78, 120, 23, 1);
    --olive-gray: rgba(143, 144, 103, .68);
    --moss-brown: rgba(116, 116, 82, 1);
    --warm-beige: rgba(182, 168, 151, .5);
    --golden-orange: rgba(194, 134, 43, 1);
    --mustard-yellow: rgba(214, 154, 63, 1);
    --burnt-orange: rgba(175, 78, 30, 1);
    --soft-cream: rgba(237, 231, 219, .68);
    --soft-cream-2: rgba(237, 231, 219, .30);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid #121212 !important;
  outline-offset: 2px !important;
  transition: all 200ms;
  text-decoration: none !important;
}    

body {
  font-family: 'Roboto', sans-serif !important;
  line-height: 1.6;
  font-weight: 400;
  color: #333;
  background: #fff;
  padding-top: 85px; /* Gleiche Höhe wie der Header */
}

main {
  min-height: calc(100vh - 300px);
}

p {
  margin-bottom: 1em;
  text-align: left;
  padding: 6px 38px;
  line-height: 1.4;
  font-weight: 300;
  font-size: 1.125em;
}

strong {
  font-weight: 600;
}

p a {
  color: rgba(128, 24, 83, 1);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

p a:hover {
  text-decoration-color: #000;
  text-decoration-style: dashed;
}

.skip-link {
  position: absolute;
  top: -80px; 
  left: 16px;
  background: #333;
  color: #fff;
  padding: 12px 32px;
  z-index: 100;
  text-decoration: none;
  border-radius: 80px;
  transition: top 0.3s;
}

.skip-link-bottom {
  position: fixed;
  bottom: -80px; 
  right: 20px;
  background: #333;
  color: #fff;
  padding: 12px 32px;
  z-index: 100;
  text-decoration: none;
  border-radius: 80px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
  z-index: 10000;
}

.skip-link-bottom:focus {
  bottom: 26px;
  z-index: 10000;
}

/* --------------------------------
   Container
----------------------------------*/
/* Breiter Container für Startseite, Header, Slider etc. */
.container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
  padding: 0 20px;
}

/* Schmaler Container für interne Seiten (Über Uns, Services, Kontakt) – 800px breit */
.content-container {
  width: 90%;
  max-width: 50em;
  margin: auto;
  padding: 0 20px;
}

.content-container > p {
  line-height: 1.67;
}

footer p, .service p, .service-item p {
  padding: 0;
}

/* --------------------------------
   Globale Headline-Stile für interne Seiten
   (Innerhalb von .content-container)
---------------------------------- */
.content-container h1 {
  font-size: 3em;       /* H1 als größte Headline */
  margin-top: 40px;      /* Einheitlicher Abstand vom oberen Rand */
  margin-bottom: 20px;
  text-align: center;
  line-height: 126%;
}

.content-container h2 {
  font-size: 2.5em;       /* H2 kleiner als H1 */
  margin: 20px 0;
  text-align: center;
  line-height: 130%;
}

.content-container h3 {
  font-size: 2em;       /* H3 noch kleiner */
  margin: 15px 0;
  text-align: center;
  line-height: 134%;
}

.content-container img {
  margin: 38px; 
  width: calc(100% - 80px);
}

.content-container img.center {
  margin: 18px auto;
  width: 320px;
  margin-left: calc(50% - 164px);
}

/* ================================================
   Header & Navigation
   ================================================ */

.logo {
  position: relative;
  line-height: 100%;
}

header {
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--warm-beige);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 85px; /* Falls dein Header eine fixe Höhe hat */
    background: white;
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    opacity: 0.94;
    backdrop-filter: blur(10px);
}

header.hidden {
    transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  width: 98%;
}

.logo a {
  font-size: 1.4em;
  line-height: 100%;
  font-weight: 300;
  color: #333;
  text-decoration: none;
  padding: 1px 6px;
  margin-left: 0px;
  vertical-align: middle;
  top: -1px;
  left: -4px;
  position: relative;
  color: var(--deep-purple);
}

.logo a span {
  font-weight: 600;
  color: black;
}

.logo > svg {
  vertical-align: middle;
  margin-left: -6px;
  margin-right: 4px;
  margin-top: -2px;
  transition: transform 0.4s ease-in-out;
  transform-origin: center;
}

.logo:hover svg {
  transform: rotateY(180deg);
}

.desktop-nav {
  position: relative;
  top: -1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-right: -18px;
}

nav ul li {
  text-align: center;
  padding: 8px 0px;
  line-height: 1;
  display: flex;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.875em;  
  text-align: center;
  line-height: 112%;
  padding: 5px 24px;
  letter-spacing: 0.01em;
  align-content: center;
  outline: 2px solid transparent;
  outline-offset: 8px;
  border-radius: 24px;
}

nav ul li a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

nav ul li a.active {
  background: var(--deep-purple);
  border-radius: 24px;
  color: #fff;
  text-decoration: none !important;
}

/* ================================================
   Hero Section & Slider (Startseite)
   ================================================ */
.hero {
  position: relative;
  background: #f7f7f7;
  padding: 0; /* Slider übernimmt die Höhe */
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: fit-content;
}

.slider-track {
  display: flex;
  width: calc(200%);
  animation: slide 40s linear infinite;
}

.slider-track img {
  height: 480px;
  width: auto;
  flex-shrink: 0;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.12);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18) inset;
}

#slider-stop {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 3;
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  font-size: 1.5em;
  height: 2.5em;
  width: 2.5em;
  transition: 300ms all ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
}

h1 span {
  background-color: rgba(0,0,0,.36);
  display: inline-block;
  padding: 0px 16px 1px;
  backdrop-filter: blur(3px);
  border-radius: 6px;
  letter-spacing: 0.025rem;
  word-spacing: 0.05rem;
  white-space: nowrap;
}

span + span {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}


#slider-stop svg {
  width: 0.75em;
  height: 0.75em;
  display: block;
  position: relative;
}

#slider-stop:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Content (Text über dem Slider) */
.hero-content {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 50em;
  width: 98%;
}

/* Headline im Slider – etwas größer als interne H1s */
.hero-content h1 {
  font-size: max(1.25em, calc(2vw + 1vh));
  margin-bottom: 20px;
  text-align: center;
  line-height: 130%;
  font-weight: 300;
}

.hero-content p, p.intro {
  font-size: 1.2em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 400;
}

@media (min-width: 1300px) {
    .hero-content h1 {
      font-size: 2.6em;
    }
    .hero-content p, p.intro {
      font-size: 1.3em;
    }
    nav ul li a {
      font-size: 1em;
    }
    .logo a {
      font-size: 1.6em;
    }
    nav ul {
      gap: 16px;
    }
}

@media (min-width: 1400px) {
    .hero-content {
      max-width: calc(120px + 50vw);
    }
    .hero-content h1 {
      font-size: 3em;
      font-size: calc(1em + 2vw + 0.5vh);
      font-weight: 200;
    }
    .hero-content p, p.intro {
      font-size: 1.5em;
    }
    nav ul {
      gap: 20px;
      margin-right: -24px;
    }
}

/* ================================================
   Services Preview (Startseite) – Teaserboxen
   ================================================ */
.services-preview {
  padding: 60px 0;
  text-align: left;
}

.services-preview h2 {
  text-align: center;
  font-weight: 200;
  font-size: 3em;
  margin: 40px;
  color: var(--deep-purple);
  letter-spacing: 0.01rem;
  word-spacing: 0.1rem;
  line-height: 130%;
}

/* Hier wird der breite Container (.container) verwendet */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16em, 1fr));
  gap: 25px;
  margin-bottom: 62px;
}

.service-item {
  border: none: ;
  border-radius: 4px;
  background: #fff;
  text-align: left;
  background-color: var(--soft-cream);
  padding: 15px 25px 10px 25px;
  min-height: 185px;
  box-shadow: 1px 3px 8px rgba(0,0,0,0.08);
}

.service-item h3 {
  text-align: left;
  line-height: 130%;
  margin: 8px 0 12px 0;
  font-size: 1.25em;
  color: var(--forest-green);
  font-weight: 500;
}

.service-item p {
  font-size: 1em;
  color: #555;
  text-align: left;
  line-height: 150%;
}

/* Call-to-Action Button (z. B. "Mehr erfahren") – im Startseitenbereich */
.btn, .cta-btn {
  display: block;
  width: fit-content;
  padding: 12px 48px;
  background-color: white;
  color: var(--forest-green);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  margin: 38px auto;
  border-color: var(--forest-green);
  border-width: 1px;
  border-style: solid;
  outline: 2px solid transparent;
  outline-offset: 8px;
  transition: all 250ms;
}

.btn:hover,
.cta-btn:hover {
  transform: scale(1.07);
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* ================================================
   Interne Seiten (Über Uns, Services, Kontakt)
   ================================================ */
.about-us,
.services,
.contact {
  padding: 60px 0;
}

/* Alle internen Inhalte sollen in .content-container liegen – max. 800px breit */

/* Einheitliche Headline-Stile für interne Seiten */
.services h1,
.about-us h1,
.contact h1 {
  text-align: center;
  font-weight: 200;
  font-size: 3.5em;
  margin: 40px;
  color: var(--deep-purple);
  letter-spacing: 0.01rem;
  word-spacing: 0.1rem;
}

.services h2,
.about-us h2,
.contact h2 {
  text-align: center;
  font-weight: 200;
  font-size: 3em;
  margin: 40px;
  color: var(--deep-purple);
  letter-spacing: 0.01rem;
  word-spacing: 0.1rem;
}

.services h3,
.about-us h3,
.contact h3 {
  font-weight: 300;
  font-size: 1.75em;
  margin: 36px 38px 8px;
  text-align: left;
  letter-spacing: 0.01rem;
  word-spacing: 0.1rem;
  color: var(--deep-purple);
}

/* --------------------------------
   Services Page – Accordion
---------------------------------- */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service {
  padding: 2px 36px 18px;
  border: 1px solid var(--warm-beige);
  border-radius: 4px;
  background: white;
  box-shadow: 1px 3px 8px rgba(0,0,0,0.08);
  transition: background-color 0.3s ease-in-out;
}

.service:hover {
  cursor: pointer;
  background: var(--soft-cream-2);
}

.service.open {
  background: var(--soft-cream-2);
  cursor: default;
}

/* Innerhalb des Accordions sollen die Headlines und Fließtexte linksbündig sein */
.service h2 {
  margin-bottom: 10px;
  font-size: 1.8em;
  text-align: left;
  margin-left: 0;
  margin-bottom: 14px;
}

.service p {
  font-size: 1em;
  color: #555;
  margin-bottom: 12px;
  text-align: left;
  line-height: 1.6;
  padding: 4px;
}

/* Accordion Content */
.accordion-content {
    display: block; /* Wichtiger Fix: Block, damit `max-height` funktioniert */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding-top 0.2s ease-out;
  padding: 0;
  border-top: 1px solid var(--warm-beige);
  text-align: left;  
  margin-top: 12px;
}

.accordion-content.open {
    opacity: 1;
    padding: 30px 0 10px;
}

.accordion-content:focus, .accordion-content:focus-visible {
    outline: none !important;
    outline-offset: none !important;
}


/* Accordion Toggle Button mit Pfeil */
.accordion-toggle {
  position: relative;
  display: inline-block;
  padding: 10px 54px 11px 24px;
  background: var(--forest-green);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  margin: 10px 0 24px;
  text-align: left; 
}
article.service:hover .accordion-toggle, 
.accordion-toggle:hover {
  transform: scale(1.07);
  background-color: var(--forest-green);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.accordion-toggle::after {
  content: "\25BA"; /* ► */
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.accordion-toggle.open::after {
  transform: translateY(-50%) rotate(90deg);
}

.accordion-toggle.open {
  transform: scale(1.0) !important;
  box-shadow: none !important;
}

/* --------------------------------
   Kontaktformular (Interne Seite)
---------------------------------- */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 38px;
}

.contact-form fieldset {
  border: none;
  margin-bottom: 20px;
  padding: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
    padding-left: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 1em;
  text-align: left;
  background: white;
  padding-right: 25px;
  border: 1px solid var(--warm-beige);
  appearance: none;
  box-shadow: 1px 2px 7px rgba(0,0,0,0.08);
}

.contact-form textarea {
    max-width: 100%;
    min-width: 100%;
    height: 240px;
    min-height: 120px;
    max-height: 360px;
    font-size: 1.25em;
    padding: 15px;
}

.contact-form button {
  display: block;
  width: fit-content;
  padding: 12px 48px;
  background: var(--forest-green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  margin: 38px 0;
}
.contact-form button:hover {
  transform: scale(1.07);
  background: var(--forest-green);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.success {
  padding: 10px;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  margin: 20px 38px;
  text-align: center;
}

.error {
  padding: 10px;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  margin: 20px 38px;
  text-align: center;
}

/* ================================================
   Footer
   ================================================ */

footer {
  background: white;
  padding: 40px calc(1% + 40px);
  display: table;
  width: 100%;
  border-top: 1px solid var(--warm-beige);
  text-align: center;
  font-size: 0.9em;
  margin-top: 120px;
}

.footer-container {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  margin: 0 auto;
  padding: 0;
}

/* Copyright-Text */
.footer-container p {
  font-size: 1em;
  margin: 0;
}

/* Link zur Barrierefreiheitserklärung */
.footer-container .footer-link {
  text-decoration: none;
  color: inherit; /* Gleiche Schriftfarbe wie der Text */
  outline: 2px solid transparent;
  outline-offset: 8px;
}

.footer-container .footer-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;  
}

/* ================================================
   Mobile Navigation & Hamburger Menü
   ================================================ */

/* Hamburger-Button: standardmäßig versteckt, auf mobilen Geräten sichtbar */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  position: absolute;
  top: 17px;
  right: 3.6em;
}

.hamburger .hamburger-line {
  width: 28px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
  display: block;
}

.hamburger:hover .hamburger-line {
  background: var(--deep-purple);
}

/* Transformation: Wenn aktiv (Menü offen), verwandelt sich der Hamburger in ein Schließen‑Kreuz */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Off-Canvas Mobile Navigation: zunächst ausgeblendet */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -51vw;  /* außerhalb des Bildschirms */
  width: 50vw;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 38px;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 68px 24px;
  display: block;
}

.mobile-nav ul li {
  margin-bottom: 38px;
  display: block;
}

.mobile-nav ul li a {
  text-decoration: none;
  font-size: 1.25em;
  color: #333;
}

/* Wenn das Menü offen ist, soll es sichtbar sein */
.mobile-nav.open {
  right: 0;
}


/* Media Query: Ab einer Viewportbreite von 1180px */
@media (max-width: 1180px) {
  /* Desktop-Navigation ausblenden */
  .desktop-nav {
    display: none;
  }
  /* Hamburger-Button einblenden */
  .hamburger {
    display: block;
    position: fixed;
  }
  body {
    padding-top: 65px;
  }
  header {
    height: 65px;
    min-height: auto;
    transform: none !important;
  }
  .logo {
    transform: scale(84%);
    left: -20px
  }
}

/* Media Query: Für sehr kleine Geräte (unter 720px) */
@media (max-width: 720px) {
    
  .hamburger {
    right: 2.4em;
  }    
  .mobile-nav {
    right: -101vw;  /* außerhalb des Bildschirms */
    width: 100vw;
  }
  footer {
    margin-top: 60px;
  }
  .hero-content, .hero-content h1, .hero-content p, p.intro {
    text-align: left;
    padding: 0 15px;
  }
  .header-container {
    width: 100%;
    padding: 0 10px;
  }
  .services-preview {
    padding: 30px 0;
  }
  h1 span {
    white-space: normal;
    display: block;
    text-align: center;
  }

    
    .contact-form {
      padding: 12px 0;
    }
    
    p {
      padding: 6px 0;
      font-size: 1em;
    }
    
    .content-container img {
      margin-left: 0px; 
      margin-right: 0px; 
      width: 100%;
    }
    
    .content-container img.center {
      margin: 0;
      width: 195px;
      margin-left: calc(50% - 100px);
    }
    
    .services h3, .about-us h3, .contact h3 {
      font-size: 1.5em;
      margin: 36px 0 8px;
    }

    .services h1, .about-us h1, .contact h1 {
      text-align: left;
      font-weight: 300;
      font-size: 2em;
      margin: 20px 0;
    }

    .services-preview h2 {
      text-align: left;
      font-size: 2.25em;
      margin-left: 0;
      margin-right: 0;
    }

    .services h2, .about-us h2, .contact h2 {
      text-align: left;
      font-weight: 300;
      font-size: 1.75em;
      margin: 20px 0;
    }
    
    .services h2 {
      font-size: 1.5em;
    }  
}

/* Media Query: Für sehr kleine Geräte (unter 720px) */
@media (max-width: 480px) {

    .services h3, .about-us h3, .contact h3 {
      font-size: 1.25em;
      margin: 36px 0 8px;
    }

    .services h1, .about-us h1, .contact h1 {
      text-align: left;
      font-weight: 300;
      font-size: 1.5em;
      margin: 20px 0;
    }

    .content-container > p {
      font-size: 0.9375em;
    }

    .footer-container p {
      font-size: 0.875em;
    }

    .services-preview h2 {
      text-align: left;
      font-size: 1.75em;
    }

    .services h2, .about-us h2, .contact h2 {
      text-align: left;
      font-weight: 300;
      font-size: 1.5em;
      margin: 20px 0;
    }
    
    .service {
      padding: 0px 18px 2px;
    }   
    
    .services h2 {
      font-size: 1.25em;
    }  
    
    .hero-content {   
      top: 36%;
    }
    
    .hero-content h1 {
      font-size: max(1.5em, calc(2vw + 1vh))
    }
    
    .hamburger {
      right: 3em;
    }
}


