/* Allgemein */
html, body {
    height: 100%;
}

/* ibm-plex-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/IBMplexsans/ibm-plex-sans-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ibm-plex-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../assets/fonts/IBMplexsans/ibm-plex-sans-v21-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ibm-plex-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../assets/fonts/IBMplexsans/ibm-plex-sans-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ibm-plex-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../assets/fonts/IBMplexsans/ibm-plex-sans-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    color: #333;
}

.hidden {
  display: none !important;
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    border: red 0px solid;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-wrapper {
  text-align: center;
  width: 80%;
  max-width: 300px;
}

.loader-bar {
  height: 6px;
  width: 100%;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.loader-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; /* Sicherstellen, dass er links startet */
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8795a3, #000);
  animation: loadingBar 2.5s ease-out forwards;
  border-radius: 3px;
}

@keyframes loadingBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

#preloader p {
  margin-top: 12px;
  color: #444;
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.loader-bubble {
  margin-top: 16px;
  background: #f2f2f2;
  padding: 12px 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
  font-family: 'IBM Plex Sans', sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.loader-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #f2f2f2;
}

.loader-logo {
  max-width: 180px;
  margin: 0 auto 24px;
  display: block;
  animation: fadeIn 0.5s ease-in-out both;
}

/* Sanfte Einblendung */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.loader-logo-wrapper svg {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
  animation: pulseLogo 2s ease-in-out infinite;
}

@keyframes pulseLogo {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* Header */
header {
    background-color: #f9f9f9;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;         /* oder einfach weglassen */
    min-height: 60px;     /* statt fixer Höhe */
}

header li, ul {
    list-style: none;
  }

/* Logo */
.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    height: auto;
    width: auto;
}

/* Navigation */
.nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    position: relative;
    list-style: none;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #8795a3;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Login Button */
.login-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: transparent;
    color: #000; /* Textfarbe */
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 20px;
    font-weight: 700; /* Fette Schrift */
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.login-button:hover {
    background-color: transparent; /* dezente Hover-Hinterlegung */
}

.login-icon {
    font-size: 18px;
    color: #000; /* Schwarzes Icon */
}

.login-label {
    display: inline;
    color: #000;
    font-weight: 700;
}

.login {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 20px;
}

.scrollmap {
  position: fixed;
  top: 140px;
  left: 0;
  padding: 10px 5px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 5px;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* für Safari */
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
}

.scrollmap-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  padding: 6px 10px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
  position: relative; /* für Tooltip erforderlich */
}

.scrollmap-entry::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background-color: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  margin-left: 8px;
  z-index: 999;
}

.scrollmap-entry:hover::after {
  opacity: 1;
}

.scrollmap-entry .dot {
  width: 10px;
  height: 10px;
  background-color: #8795a3;
  border-radius: 50%;
}

.scrollmap-entry .label {
  font-size: 0.9rem;
}

.scrollmap-entry.active {
  background-color: #000000;
  color: white;
}

.scrollmap-entry.active .dot {
  background-color: white;
}

.scrollmap-entry.active .label {
  font-weight: bold;
}

/* Hero Section */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin: 0 auto;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

/*Highlight */
.underlined {
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

/* Bild links */
.hero-image {
    flex: 1 1 40%;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.hero-headline {
  text-align: center;
  margin-bottom: 20px; /* optional */
}

.hero-eyebrow {
  font-size: 16px;
  font-weight: bold;
  color: #535b64;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #111;
  margin: 4px 0 0 0; /* nur minimaler Abstand zur kleinen Überschrift */
  line-height: 1.2;
}

/* Text rechts */
.hero-text {
    flex: 1 1 50%;
    max-width: 700px;
    text-align: left;
}

.hero-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.hero-quote-wide {
    display: flex;
    align-items: stretch; /* passt die Bildhöhe dem Textblock an */
    gap: 24px;
    margin-top: 40px;
    background-color: #f0f0f0;
    padding: 24px;
    border-left: 6px solid #8795a3;
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    border-radius: 6px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.kontakt-box .quote-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.contact-info-row i {
  min-width: 22px;
  font-size: 18px;
  color: #8795a3;
  margin-top: 3px;
}

.contact-info-row a {
  color: #333;
  text-decoration: none;
}

.contact-info-row a:hover {
  text-decoration: underline;
}

.avatar-container {
    flex: 0 0 160px; /* feste Breite für das Bild */
    display: flex;
    align-items: stretch;
}

.avatar-image-wide {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.quote-text {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.quote-text em {
    display: block;
    margin-bottom: 6px;
    color: #444;
    font-style: italic;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button.primary {
    background-color: #8795a3;
    color: white;
}

.cta-button.primary:hover {
    background-color: #000000;
}

.cta-button.secondary {
    background-color: #e0e0e0;
    color: #333;
}

.cta-button.secondary:hover {
    background-color: #c8c8c8;
}

.modal-trigger {
    background-color: transparent;
    border: 1px solid black;
    color: black;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-trigger i {
    font-size: 13px;
}

.modal-trigger:hover {
    background-color: black;
    color: white;
}

.kompetenz-legende {
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 30px 20px;
    text-align: center;
}

.kompetenz-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.kompetenz-liste {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.kompetenz-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #444;
}

.kompetenz-dots {
    display: flex;
    gap: 6px;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

/* Farbcodes */
.color-dot.am {
    background-color: #d2b48c;
}

.color-dot.ai {
    background-color: #a191ba;
}

.color-dot.ar {
    background-color: #93b9a2;
}

/* Services Kachelbereich */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 60px 20px;
    gap: 40px;
    background-color: #f9f9f9;
}

/* Initialzustand */
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Sichtbar nach Scroll */
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card img {
    width: 100%;
    height: auto;
}

.service-card h2 {
    font-size: 20px;
    margin: 20px 0 10px;
}

.service-card p {
    padding: 0 20px 20px;
    font-size: 16px;
    color: #666;
}

/* Neue Service Card Struktur */

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

/* Header mit Icon und Titel */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    padding-bottom: 0;
}

.card-header i.icon {
    font-size: 22px;
    color: #8795a3;
}

.service-card h2 {
    font-size: 18px;
    margin: 0;
    color: #222;
}

/* Beschreibungstext */
.service-card p {
    padding: 0 20px 20px;
    font-size: 15px;
    color: #555;
}

/* Trennlinie */
.service-card hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 20px 10px;
}

/* Meta-Bereich unten */
.card-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 20px;
}

/* Einzelne Meta-Zeile */
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

/* Skala (Zeitaufwand) */
.scale-bar {
    background-color: #eee;
    border-radius: 5px;
    width: 100px;
    height: 8px;
    overflow: hidden;
}

.scale-fill {
    height: 100%;
    background-color: #8795a3;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

/* Freitext-Ergebnis */
.meta-text {
    font-size: 14px;
    color: #555;
}

/* Servicebeschreibungen (unterhalb) */
.service-descriptions {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 60px 20px;
    background-color: #ffffff;
}

.service-description {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-description.reverse {
    flex-direction: row-reverse;
}

.description-image {
    flex: 1;
}

.description-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.description-text {
    flex: 1;
}

.description-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.description-text p {
    font-size: 16px;
    color: #666;
}

/* Text Blöcke innerhalb der Service Descriptions */

.text-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.text-block .icon {
    font-size: 20px;
    color: #000000;
    flex-shrink: 0;
    margin-top: 4px;
}

.text-block p {
    margin: 0;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* Allgemeine Listendarstellung */

.list-title {
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

ul {
    list-style: none;            /* Standardpunkte entfernen */
    padding-left: 24px;
    margin-bottom: 20px;
    color: #444;
    font-size: 13px;             /* konsistent zur Umgebung */
    line-height: 1.6;
}

ul li {
    position: relative;
    margin-bottom: 1px;
    padding-left: 20px;
}

ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #8795a3;              /* dein Blaugrau */
    font-weight: bold;
    font-size: 16px;
}

.hero-list li {
    font-size: 18px;   /* größere Schrift für Listeneinträge */
    margin-bottom: 1px;
    padding-left: 20px;
    position: relative;
}

.hero-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #8795a3;
    font-weight: bold;
    font-size: 18px; /* größere Schrift für das Bullet */
}

.nav-links li::before {
    content: none !important;
}

/* Service Slider Bereich */
.carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    box-sizing: border-box;
    gap: 40px;
}

.carousel-image img {
    width: 100%;
    border-radius: 100%;  /* macht das Bild rund */
    object-fit: cover;   /* schneidet das Bild passend zu */
    height: 200px;       /* feste Höhe für die runde Form */
    display: block;
}

.carousel-text {
    flex: 1;
    max-height: 250px;   /* gleiche Höhe wie das Bild */
    overflow-y: auto;    /* aktiviert vertikales Scrollen, wenn nötig */
    padding-right: 10px; /* etwas Abstand für Scrollbar */
}

.carousel-text h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.carousel-text p {
    font-size: 18px;
    color: #444;
}

/* Styles zur Vorstellung */

.intro-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.statement {
  font-size: 18px;
  margin-bottom: 40px;
  color: #444;
}

.about-me {
  padding: 60px 20px;
  background-color: white;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  color: #333;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-container h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #222;
}

.about-container p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Persönlicher Bereich */
.about-personal {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch; /* das ist entscheidend! */
}

/* Foto mit voller Texthöhe, kein Schatten */
.about-photo {
  flex: 1 1 280px;
  max-width: 300px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(60%);
}

.about-photo .photo-wrapper {
  position: relative;
  width: 100%;
  height: 100%; /* wichtig: übernimmt die volle Höhe des Containers */
  overflow: hidden;
  border-radius: 8px;
}

.about-photo .photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* das füllt das Bild aus und beschneidet ggf. proportional */
  border-radius: 8px;
  filter: grayscale(60%);
}

/* Textbereich */
.about-details {
  flex: 2 1 500px;
}

.about-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.about-details ul li::before {
  content: ". ";
  color: #8795a3;
  font-weight: bold;
  margin-right: 6px;
}

/* Schlagwörter / Bubbles */
.hashtag-bubbles {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hashtag-bubbles span {
  background-color: #e0e0e0;
  color: #444;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

/* Optional: Einheitlicher Stil für Unterüberschriften */
.about-details h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #555;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-address p {
    margin: 10px 0 0;
}

/* Burger-Icon */
.burger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 18px;
    z-index: 1100;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: #fff;
    margin: 60px auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #888;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

/* Modal Formular-Styling */
#innoForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#innoForm input,
#innoForm label,
#innoForm button {
    font-size: 16px;
    font-family: inherit;
}

#innoForm input {
    padding: 12px 16px;
    border: 1px solid #8795a3; /* 10fach CI-Farbe */
    border-radius: 6px;
    background-color: #fdfdfd;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s;
}

#innoForm input:focus {
    outline: none;
    border-color: #5e6b78;
    background-color: #fff;
}

#innoForm label {
    margin-top: 10px;
    color: #333;
    font-weight: 500;
}

#innoForm button {
    background-color: #8795a3;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#innoForm button:hover {
    background-color: #5e6b78;
}

#innoFormContent {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Response-Meldung */
.response-msg {
    margin-top: 10px;
    font-weight: bold;
    color: #8795a3;
}

/* Zeeg-Placeholder CI */
#zeegPlaceholder{
  background:#fff;
  border:1px dashed var(--ci-accent, #8795a3);
  border-radius:12px;
  padding:20px;
  text-align:center;
  color:var(--ci-text, #333);
}
#zeegPlaceholder p{ margin:0; }

.zeeg-consent-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:12px;
}

.cookie-mini{
  width:36px; height:36px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px;
  border:1px solid var(--ci-border, #e6e6e8);
  background:#fff; color:var(--ci-ink, #000);
  cursor:pointer;
}
.cookie-mini:hover{ border-color: var(--ci-accent, #8795a3); }
.cookie-mini i{ font-size:16px; }

.zeeg-actions{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
  margin-top:8px;
}

#zeegPlaceholder .btn-open-consent,
#zeegPlaceholder .btn-ext{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--ci-border, #e6e6e8);
  background:var(--ci-accent, #8795a3);
  color:#fff;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
#zeegPlaceholder .btn-open-consent:hover,
#zeegPlaceholder .btn-ext:hover{
  background:var(--ci-accent-strong, #5e6b78);
}

.zeeg-sep{
  border:0; border-top:1px solid var(--ci-border, #e6e6e8);
  margin:16px auto; width:100%;
}

.contact-alt{ font-size:14px; color:var(--ci-text, #333); }
.contact-alt .contact-title{ font-weight:600; }
.contact-alt ul{
  list-style:none; padding:0; margin:8px 0 0;
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
}
.contact-alt li i{ color:var(--ci-accent, #8795a3); margin-right:6px; }


/* ───────── Zeeg-Modal: Mobile Vollbild & CI-Placeholder ───────── */
@media (max-width: 640px){
  /* Modal im Vollbild */
  .modal-content{
    margin:0;
    width:100%;
    max-width:none;
    height:100dvh;            /* dynamische Viewport-Höhe für Mobile */
    border-radius:0;
    padding:16px;
  }
  .modal-close{
    top:12px;
    right:12px;
    font-size:28px;
  }

  /* iFrame soll den verfügbaren Platz nutzen:
     56px ≈ Platz für Header/Close-Bereich; bei Bedarf anpassen */
  #zeegContainer iframe{
    width:100%;
    height:calc(100dvh - 56px);
  }

  /* Placeholder-Layout: linksbündig, Buttons stapeln */
  #zeegPlaceholder{
    text-align:left;
    padding:16px;
  }
  .zeeg-consent-row{
    justify-content:flex-start;
    gap:10px;
    margin-bottom:12px;
  }
  #zeegPlaceholder .btn-open-consent,
  #zeegPlaceholder .btn-ext{
    width:100%;
    text-align:center;
  }
  .contact-alt ul{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}


/* Responsive Anpassungen */

@media only screen and (max-width: 1024px) {
  /* Allgemeine Textgröße */
  body {
    font-size: 22px;
  }

  /* Header */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 20px;
    height: auto;
  }

  .logo {
    flex-shrink: 0;
  }

  .logo img {
    max-width: 180px;
    height: auto;
    width: 100%;
  }

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    padding: 0;
    margin-left: auto;
  }

  /* Navigation */
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 30px;
    align-items: flex-start;
    gap: 20px;
    z-index: 1000;
  }

  .main-nav.nav-active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links li {
    font-size: 24px;
  }

  /* Login */
  .login-button {
    display: none;
  }

  .login-inline {
    display: block;
    width: 100%;
    margin-top: 20px;
    font-size: 22px;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    padding: 24px 24px;
    gap: 24px;
  }

  .hero-image {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
  }

  .hero-text {
  text-align: left;
  padding-top: 0;
  margin-top: 0;
  }

  .hero-text h1 {
    margin-top: 0;
    font-size: 36px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 20px;
    line-height: 1.7;
  }

  /* CTA Buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .cta-button {
    font-size: 20px;
    padding: 16px 32px;
    width: 100%;
    max-width: 340px;
  }

  .scrollmap {
    top: 140px;              /* gleiche Y-Position wie im Desktop */
    left: auto;              /* Linksbündigkeit deaktivieren */
    right: 0;                /* Rechtsbündigkeit aktivieren */
    transform: none;         /* Keine Zentrierung nötig */

    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    
    box-shadow: -2px 2px 10px rgba(0,0,0,0.15); /* Schatten von rechts */
  }

  .scrollmap-entry {
    flex-direction: row;     /* Labels und Dots nebeneinander lassen */
    align-items: center;
  }

  .avatar-container {
    width: 100%;
  }

  .avatar-image-wide {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
  }

  .service-descriptions {
  padding-top: 20px; /* statt 60px */
  padding-bottom: 0;
  gap: 40px; /* falls du die Abstände zwischen den Items auch reduzieren willst */
  }

  .service-description {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 24px;
    text-align: left;
  }

  .service-description.reverse {
    flex-direction: column-reverse;
  }

  .description-text h2,
  .description-text p {
    text-align: left;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Service Cards */
  .service-card h2 {
    font-size: 22px;
  }

  .service-card p,
  .meta-text {
    font-size: 18px;
  }

  .kompetenz-legende {
    text-align: left;
  }

  .kompetenz-liste {
    justify-content: flex-start;
  }

  .kompetenz-heading {
    text-align: left;
  }

  .hero-quote-wide {
    margin-top: 0px;
  }

  /* Zitat / Avatar-Block */
  .quote-block {
    font-size: 20px;
  }

  /* Footer */
  footer {
    font-size: 18px;
    padding: 30px 20px;
  }

  /* Listen */
  ul {
    font-size: 18px;
  }

  .list-title {
    font-size: 20px;
  }

    .about-personal {
    flex-direction: column;
    align-items: center;
  }

  .about-photo {
    max-width: 100%;
    flex: unset;
    width: 100%;
  }

  .about-photo .photo-wrapper {
    width: 100%;
    height: auto; /* wichtig: Höhe richtet sich nach Bild */
  }

  .about-photo .photo-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }

  .about-details {
    width: 100%;
  }
}

