/* ==========================================================================
   MK Metall & Gravur – Stylesheet
   Aufbau:
     1. Schrift & Variablen (hier Farben/Abstände zentral ändern)
     2. Grundlagen
     3. Kopfbereich & Navigation
     4. Hero
     5. Abschnitte, Raster, Karten
     6. Über Mich / Kontakt (zwei Spalten)
     7. Formular
     8. Fußbereich
     9. Rechtstexte (Impressum, AGB, Datenschutz)
    10. Responsive (Tablet, Handy)
   ========================================================================== */


/* ---------- 1. SCHRIFT & VARIABLEN ---------- */

/* Montserrat wird lokal geladen (DSGVO-freundlich, kein Google-Server).
   Die Dateien müssen im Ordner fonts/ liegen (siehe ANLEITUNG.md).
   Fehlen sie, wird automatisch Arial/Helvetica verwendet. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* !!! PLATZHALTER-FARBEN !!!
     Die echten Farben der Originalseite sind noch nicht übernommen.
     Hier die Hex-Werte der Originalseite eintragen – sie wirken
     automatisch auf die gesamte Seite. */
  --farbe-text: #222222;          /* normaler Text */
  --farbe-text-hell: #ffffff;     /* Text auf dunklem Grund */
  --farbe-hintergrund: #ffffff;   /* Seitenhintergrund */
  --farbe-hintergrund-hell: #f3f4f6; /* abwechselnde Abschnitte */
  --farbe-dunkel: #1a1a1a;        /* Kopfzeile, Fußbereich */
  --farbe-akzent: #00a303;        /* Knöpfe (Anfrage), Hervorhebungen */
  --farbe-akzent-dunkel: #008a02; /* Knopf beim Darüberfahren */
  --farbe-whatsapp: #25d366;      /* Originalgrün von WhatsApp */
  --farbe-whatsapp-dunkel: #1ebe5a; /* WhatsApp-Knopf beim Darüberfahren */
  --farbe-linie: #d9dce1;         /* Rahmen, Trennlinien */

  --schrift: "Montserrat", Arial, Helvetica, sans-serif;

  --seitenbreite: 1140px;         /* maximale Inhaltsbreite */
  --abstand-abschnitt: 80px;      /* Luft oberhalb/unterhalb der Abschnitte */
  --kopfhoehe: 150px;             /* Höhe der Kopfzeile */
  --radius: 6px;                  /* abgerundete Ecken */
}


/* ---------- 2. GRUNDLAGEN ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Beim Klick auf einen Menüpunkt nicht unter der Kopfzeile landen */
  scroll-padding-top: var(--kopfhoehe);
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.6;
  color: var(--farbe-text);
  background: var(--farbe-hintergrund);
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--seitenbreite);
  margin: 0 auto;
  padding: 0 20px;
}

.schmal {
  max-width: 800px;
}

/* Knopf (für Links und Buttons) */
.knopf {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--schrift);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--farbe-text-hell);
  background: var(--farbe-akzent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}
.knopf:hover,
.knopf:focus-visible {
  background: var(--farbe-akzent-dunkel);
}

/* WhatsApp-Knopf in der Originalfarbe von WhatsApp
   (muss nach .knopf stehen, damit er dessen Farbe überschreibt) */
.knopf-whatsapp {
  background: var(--farbe-whatsapp);
}
.knopf-whatsapp:hover,
.knopf-whatsapp:focus-visible {
  background: var(--farbe-whatsapp-dunkel);
}


/* ---------- 3. KOPFBEREICH & NAVIGATION ---------- */

.kopf {
  position: sticky;           /* bleibt beim Scrollen oben stehen */
  top: 0;
  z-index: 100;
  height: var(--kopfhoehe);
  background: var(--farbe-hintergrund);   /* weiß */
  color: var(--farbe-text);
  border-bottom: 1px solid var(--farbe-linie);  /* feine Linie zur Abgrenzung */
}

.kopf-innen {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 131px;
  width: auto;
}

.hauptmenue ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hauptmenue a {
  text-decoration: none;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.hauptmenue a:hover,
.hauptmenue a:focus-visible {
  border-bottom-color: var(--farbe-akzent);
}

/* Menü-Knopf ("Hamburger") – nur auf dem Handy sichtbar */
.menue-knopf {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menue-knopf span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--farbe-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
/* Wenn das Menü offen ist, wird aus den Strichen ein "X" */
.menue-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ---------- 4. HERO (Startbereich) ---------- */

.hero {
  position: relative;
  /* Schneidet das fest stehende Video auf diesen Bereich zu. Darunter folgende
     Abschnitte schieben sich beim Scrollen über das Video. */
  clip-path: inset(0);
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--kopfhoehe));
  min-height: calc(100svh - var(--kopfhoehe));
  color: var(--farbe-text-hell);
  background: var(--farbe-dunkel); /* Fallback, falls das Video nicht lädt */
}

/* Hintergrundvideo bleibt am Bildschirm stehen (position: fixed), während die Seite
   scrollt. Es füllt den ganzen Bildschirm (wird bei Bedarf zugeschnitten).
   Soll es stattdessen mit der Seite wegscrollen: "fixed" durch "absolute" ersetzen. */
.hero-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dunkle Schicht über dem Video – Stärke über den letzten Wert (0.25) ändern.
   0 = gar keine Abdunklung, höher = dunkler. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Einblenden beim Laden der Seite: erst das Video, kurz danach der Text.
   Dauer (1.5s / 1.2s) und Verzögerung (0.4s) lassen sich hier anpassen. */
.hero-video {
  animation: hero-einblenden 1.5s ease-out both;
}
.hero-innen {
  animation: hero-text-einblenden 1.2s ease-out 0.4s both;
}
@keyframes hero-einblenden {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hero-text-einblenden {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Etwas Schatten hinter dem Text, damit er auch bei hellerem Video gut lesbar bleibt */
.hero h1,
.hero p {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

/* Text liegt über Video und Schicht */
.hero-innen {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.4em;
}

.hero p {
  max-width: 560px;
  font-size: 1.2rem;
  margin-bottom: 1.6em;
}


/* ---------- 5. ABSCHNITTE, RASTER, KARTEN ---------- */

.abschnitt {
  padding: var(--abstand-abschnitt) 0;
}
.abschnitt-hell {
  background: var(--farbe-hintergrund-hell);
}

.abschnitt h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.2em;
}

figure {
  margin: 0;
}

/* Allgemeines Raster: Spaltenzahl pro Variante unten */
.raster {
  display: grid;
  gap: 24px;
}
.raster-bilder { grid-template-columns: repeat(3, 1fr); }
.raster-technik { grid-template-columns: repeat(2, 1fr); } /* Technologie: zwei Kacheln nebeneinander (Videos oben, Bilder darunter) */
.raster-vier   { grid-template-columns: repeat(4, 1fr); }

/* Anwendungen: Bildgruppen in zwei Spalten.
   Links Überschrift mit grünem Strich, rechts die Bilder. */
.bildgruppe {
  display: grid;
  grid-template-columns: minmax(0, min(26%, 300px)) minmax(0, 1fr);  /* linke Spalte: 26 % der Breite, höchstens 300 px */
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--farbe-linie);   /* Trennlinie zwischen den Gruppen */
}
.bildgruppe:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.bildgruppe:last-child {
  padding-bottom: 0;
}
.bildgruppe h3 {
  font-size: 1.15rem;
  margin: 0;
  overflow-wrap: break-word;   /* lange Wörter wie "Werkzeugbeschriftungen" stoßen nicht an die Bilder */
  hyphens: auto;               /* trennt bei Bedarf automatisch (Seitensprache: Deutsch) */
}
/* Kurzer Strich in der Akzentfarbe unter der Überschrift */
.bildgruppe h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 10px;
  background: var(--farbe-akzent);
}

/* Alle Bilder der Anwendungen sind gleich groß (Kachel im Format 4:3).
   Anderes Format? Wert bei aspect-ratio ändern (z. B. 1 / 1 oder 16 / 9). */
.bild-knopf {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;            /* Lupen-Mauszeiger: Klick vergrößert */
  overflow: hidden;
}
.bild-knopf img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;        /* ganzes Bild sichtbar, nichts wird abgeschnitten */
  transition: transform 0.2s;
}
.bild-knopf:hover img,
.bild-knopf:focus-visible img {
  transform: scale(1.03);
}
/* Echte Fotos füllen die Kachel komplett aus (Rand wird ggf. abgeschnitten).
   Auf "contain" ändern, wenn das ganze Foto sichtbar sein soll. */
.bild-knopf img.vollflaechig {
  object-fit: cover;
}



/* Lupen-Symbol unten rechts: erscheint beim Darüberfahren (am Handy immer sichtbar) */
.bild-knopf::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--farbe-linie);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0;
  transition: opacity 0.2s;
}
.bild-knopf:hover::after,
.bild-knopf:focus-visible::after {
  opacity: 1;
}
@media (hover: none) {
  .bild-knopf::after { opacity: 1; }
}

/* Vergrößerte Ansicht (Lightbox) mit Pfeilen, Schließen-Knopf und Beschriftung */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 24px;
  border: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;           /* Klick neben das Bild schließt */
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  width: auto;
  height: auto;
  max-width: calc(100% - 120px);   /* Platz für die Pfeile links und rechts */
  max-height: calc(100% - 48px);   /* Platz für die Beschriftung unten */
  object-fit: contain;
  border-radius: var(--radius);
  cursor: default;
}
.lightbox img[src$=".svg"] {
  width: min(80vw, 900px);    /* SVG-Grafik hat keine feste Größe */
  background: var(--farbe-hintergrund);
}
.lightbox-zu,
.lightbox-pfeil {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-family: var(--schrift);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--farbe-text-hell);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-zu:hover,
.lightbox-pfeil:hover,
.lightbox-zu:focus-visible,
.lightbox-pfeil:focus-visible {
  background: var(--farbe-akzent);
  border-color: var(--farbe-akzent);
}
.lightbox-zu      { top: 16px; right: 16px; }
.lightbox-zurueck { left: 16px;  top: 50%; margin-top: -22px; }
.lightbox-weiter  { right: 16px; top: 50%; margin-top: -22px; }
.lightbox-pfeil[hidden] { display: none; }
.lightbox-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--farbe-text-hell);
  cursor: default;
}

/* Technologie-Kacheln: Videos im Format 16:9.
   Anderes Seitenverhältnis? Wert bei aspect-ratio ändern. */
.raster-technik video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;          /* füllt die Fläche, schneidet ggf. am Rand ab */
  border-radius: var(--radius);
}

/* Video mit "Erneut abspielen"-Knopf über dem Bild */
.video-box {
  position: relative;
}
/* Kleiner Knopf unten rechts im Video */
.replay-knopf {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  font-family: var(--schrift);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--farbe-text-hell);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--farbe-text-hell);
  border-radius: var(--radius);
  cursor: pointer;
}
.replay-knopf:hover,
.replay-knopf:focus-visible {
  background: var(--farbe-akzent);
  border-color: var(--farbe-akzent);
}
.replay-knopf[hidden] {
  display: none;
}

/* Karten bei "Materialien & Spezifikationen" */
.karte {
  padding: 24px;
  background: var(--farbe-hintergrund);
  border: 1px solid var(--farbe-linie);
  border-radius: var(--radius);
}
.karte h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8em;
}
.karte ul {
  margin: 0;
  padding-left: 1.1em;
}
.karte li {
  margin-bottom: 0.8em;
}


/* ---------- 6. ÜBER MICH / KONTAKT (zwei Spalten) ---------- */

.zwei-spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.text-spalte h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2em;
}
.text-spalte ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.bild-spalte img {
  width: 100%;
  border-radius: var(--radius);
}


/* ---------- 7. FORMULAR ---------- */

.formular {
  display: grid;
  gap: 6px;
}

.formular label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 10px;
}

.formular input[type="text"],
.formular input[type="email"],
.formular input[type="tel"],
.formular input[type="file"],
.formular select,
.formular textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--schrift);
  font-size: 1rem;
  color: var(--farbe-text);
  background: var(--farbe-hintergrund);
  border: 1px solid var(--farbe-linie);
  border-radius: var(--radius);
}
.formular input:focus,
.formular select:focus,
.formular textarea:focus {
  outline: 2px solid var(--farbe-akzent);
  outline-offset: 1px;
}

.zustimmung {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}
.zustimmung label {
  margin: 0;
  font-weight: 400;
}
.zustimmung input {
  margin-top: 5px;
  flex-shrink: 0;
}

.formular .knopf {
  margin-top: 18px;
  justify-self: start;
}

/* Material-Auswahl: Häkchen in zwei Spalten */
.checkgruppe {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
.checkgruppe legend {
  padding: 0;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.checkgruppe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.checkgruppe legend {
  grid-column: 1 / -1;        /* Überschrift über beide Spalten */
}
.formular .checkgruppe label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

/* Hinweis "Entwurf angehängt" im Kontaktformular */
.entwurf-hinweis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e6b34;
  background: #e6f4ea;
  border-radius: var(--radius);
}
.entwurf-hinweis[hidden] { display: none; }

/* kleiner Knopf (auch im Designer genutzt) */
.d-knopf {
  padding: 8px 16px;
  font-family: var(--schrift);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--farbe-text);
  background: var(--farbe-hintergrund);
  border: 1px solid var(--farbe-text);
  border-radius: var(--radius);
  cursor: pointer;
}
.d-knopf.klein { padding: 4px 10px; font-size: 0.8rem; }

/* Hinweistext unter dem Dateifeld */
.formular-hinweis {
  margin: 0;
  font-size: 0.85rem;
  color: #5f6670;
}

/* Spam-Falle: aus dem sichtbaren Bereich schieben (nicht display:none,
   sonst erkennen manche Bots die Falle) */
.spamfalle {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Erfolgs- bzw. Fehlermeldung nach dem Absenden */
.formular-status {
  padding: 12px 16px;
  margin: 0 0 10px;
  border-radius: var(--radius);
  font-weight: 600;
}
.formular-status.ok     { background: #e6f4ea; color: #1e6b34; }
.formular-status.fehler { background: #fdecea; color: #a12622; }


/* ---------- 8. FUSSBEREICH ---------- */

.fuss {
  padding: 40px 0;
  background: var(--farbe-hintergrund);   /* weiß */
  color: var(--farbe-text);
  border-top: 1px solid var(--farbe-linie);
}

.fuss-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fuss-logo  { height: 131px; width: auto; }
.fuss-siegel { height: 131px; width: auto; border-radius: var(--radius); } /* gleiche Höhe wie .fuss-logo */

.fuss-links {
  display: flex;
  gap: 24px;
}
.fuss-links a {
  text-decoration: none;
}
.fuss-links a:hover,
.fuss-links a:focus-visible {
  text-decoration: underline;
}


/* ---------- 9. RECHTSTEXTE ---------- */

.rechtstext {
  padding: var(--abstand-abschnitt) 0;
}
.rechtstext h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1em;
}
.rechtstext h3 {
  font-size: 1.15rem;
  margin: 1.8em 0 0.4em;
}


/* ---------- 10. RESPONSIVE ---------- */

/* Tablet (bis 1024 px) */
@media (max-width: 1024px) {
  .raster-vier,
  .raster-technik { grid-template-columns: repeat(2, 1fr); }
  .raster-bilder { grid-template-columns: repeat(2, 1fr); }
  .zwei-spalten  { gap: 32px; }
}

/* Handy (bis 768 px) */
@media (max-width: 768px) {
  :root {
    --abstand-abschnitt: 56px;
    --kopfhoehe: 124px;
  }

  .logo img { height: 108px; }

  /* Menü wird zum ausklappbaren Block unter der Kopfzeile */
  .menue-knopf { display: block; }

  .hauptmenue {
    position: absolute;
    top: var(--kopfhoehe);
    left: 0;
    right: 0;
    display: none;                 /* standardmäßig zu */
    background: var(--farbe-hintergrund);
    border-top: 1px solid var(--farbe-linie);
    border-bottom: 1px solid var(--farbe-linie);
  }
  .hauptmenue.offen { display: block; } /* wird von script.js gesetzt */

  .hauptmenue ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .hauptmenue a {
    display: block;
    padding: 12px 0;
  }

  .raster-technik,
  .raster-vier,
  .zwei-spalten,
  .bildgruppe {
    grid-template-columns: 1fr;
  }
  .bildgruppe { gap: 16px; }
  .lightbox img { max-width: 100%; }

  /* Fußbereich am Handy: Logo und Gütesiegel nebeneinander, Links darunter */
  .fuss-innen {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px 16px;
  }
  .fuss-logo,
  .fuss-siegel {
    width: auto;
    height: auto;
    max-height: 131px;
    max-width: calc(50% - 8px);   /* jedes Bild höchstens halbe Breite, damit beide nebeneinander passen */
    min-width: 0;
    object-fit: contain;
  }
  .fuss-links {
    flex-basis: 100%;             /* Links in eine eigene Zeile darunter */
  }
}

/* Kleine Handys (bis 480 px) */
@media (max-width: 480px) {
  .raster-bilder { grid-template-columns: 1fr; }
  .knopf { width: 100%; text-align: center; }
  .formular .knopf { justify-self: stretch; }
}

/* Wer in den Systemeinstellungen "weniger Bewegung" wünscht, bekommt kein sanftes Scrollen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video,
  .hero-innen { animation: none; }   /* kein Einblenden */
}


/* ---------- Hinweis auf den Schild-Designer (Kontakt) ---------- */
.designer-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 20px;
  background: var(--farbe-hintergrund-hell);
  border: 1px solid var(--farbe-linie);
  border-left: 4px solid var(--farbe-akzent);
  border-radius: var(--radius);
}
.designer-box h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.designer-box p {
  margin: 0 0 14px;
  font-size: 0.95rem;
}
.designer-box-bild {
  flex: 0 0 120px;
  width: 120px;
  height: auto;
}
@media (max-width: 480px) {
  .designer-box { flex-direction: column; align-items: flex-start; }
  .designer-box-bild { flex: none; }
}


/* ==========================================================================
   Seitenleiste mit WhatsApp, Instagram, LinkedIn (wird von js/script.js eingefügt)
   Schwebt am rechten Rand und scrollt mit.
   ========================================================================== */
.soziale-leiste {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1px;
  transform: translateY(-50%);
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.soziale-leiste a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #fff;
  transition: width 0.15s ease, filter 0.15s ease;
}
.soziale-leiste a:hover,
.soziale-leiste a:focus-visible {
  width: 54px;
  filter: brightness(0.92);
}
.soziale-leiste svg { width: 24px; height: 24px; }
.soziale-whatsapp { background: var(--farbe-whatsapp); }
.soziale-instagram { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #833ab4); }
.soziale-linkedin { background: #0a66c2; }

@media (max-width: 768px) {
  .soziale-leiste { top: auto; bottom: 16px; transform: none; }
  .soziale-leiste a { width: 40px; height: 40px; }
  .soziale-leiste a:hover, .soziale-leiste a:focus-visible { width: 40px; }
  .soziale-leiste svg { width: 20px; height: 20px; }
}
@media print { .soziale-leiste { display: none; } }


/* ===== Cookie-/Datenschutz-Hinweis (unten am Bildschirmrand) ===== */
.cookie-hinweis {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 1000;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--farbe-dunkel);
  color: var(--farbe-text-hell);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  font-size: .95rem;
}
.cookie-hinweis p { margin: 0; flex: 1; }
.cookie-hinweis a { color: inherit; text-decoration: underline; }
.cookie-hinweis .knopf { flex: none; padding: 8px 18px; }
@media (max-width: 520px) {
  .cookie-hinweis { flex-direction: column; align-items: stretch; text-align: center; }
}

.cookie-knoepfe { display: flex; gap: 10px; flex: none; }
.cookie-hinweis .knopf-hell { background: transparent; border: 1px solid currentColor; color: inherit; }
@media (max-width: 520px) { .cookie-knoepfe { justify-content: center; } }
