html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Grundlayout */
body {
  font-family: "Helvetica", Arial, sans-serif;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

  #moveText { 
    transition: opacity 0.8s ease, transform 0.3s ease;
    opacity: 0;
  }

  #moveText.show { opacity: 1; transform: translateY(0); }

/* Fokus sichtbar machen für alle fokussierbaren Elemente */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #444;          /* dunkles Grau/Schwarz */
   outline-offset: 3px;                      /* Abstand vom Element */
  box-shadow: 0 0 8px rgba(68, 68, 68, 0.4); /* leichter Schatten mit Transparenz */
}

a[href="#"]:focus-visible {
  outline-color: #666; /* etwas helleres Grau für Links mit href="#" */
}

.text {
  text-align: center
}


/* Header / Hero */
header.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.allshr_btn {
  position: absolute;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2000;
  width: 34px;
  height: 34px;
  bottom: 70px;
  right: 30px;
}

 /* Beispiel-CSS, damit das Icon sichtbar ist */
        .icon-share {
            width: 24px; /* Oder jede gewünschte Größe */
            height: 24px;
            display: inline-block; /* Oder display: block je nach Layout */
            vertical-align: middle;
            color: #333; /* Farbe des Icons */
            cursor: pointer;
        }

h1,h2 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

/* Hauptabschnitte */
.section {
  padding: 2rem 2rem;
  max-width: 1000px;
  margin: auto;
}

/* Basis-Styling für Mobilgeräte (Untereinander) */
.hero-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Abstand zwischen Titel und Untertitel auf Mobile */
  margin-bottom: 2rem; /* Abstand zum Button hin */
}

.hero-brand-wrap h1 {
  margin: 0;
  line-height: 1.1;
}

.hero-brand-wrap p {
  margin: 0;
  line-height: 1.4;
}

/* Desktop-Layout ab 768px (Nebeneinander wie in image_daa73f.png) */
@media (min-width: 768px) {
  .hero-brand-wrap {
    flex-direction: row;
    align-items: center; /* Vertikale Zentrierung zueinander */
    gap: 2.5rem; /* Horizontaler Abstand zwischen DEFTIVITY und dem Text */
  }
  
  /* Optional: Vertikaler Trennstrich oder feines Padding, falls gewünscht */
  .hero-brand-wrap p {
    border-left: 0px solid transparent; /* Hier könnte ein Border hin, falls du trennen willst */
    padding-left: 0;
  }
}

/* ==========================================================================
   4. SUB-FOOTER / CREDITS (Deine originalen Farben)
   ========================================================================== */
.sub-footer {
  background-color: #3B3B3B;
  color: #ffffff;
  text-align: center;
  padding: 10px 0px;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;       /* Verhindert, dass der Footer flach gequetscht wird */
}

.sub-footer.rar {
  position:fixed;
  bottom: 0;
}

.sub-footer p {
  margin: 0;
}

.sub-footer a {
  color: #ff8f00;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.sub-footer a:hover {
  text-decoration: underline;
}

/* Styling für das Favicon im Footer */
.sub-footer a img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin: 0px 6px 3px 2px;
  border-radius: 2px;
  border: none; 
}


/* Wrapper für die about-blocks */
.about-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

/* Styling der einzelnen about-blocks */
.about-block {
  flex: 1;
 text-align: justify;
    /* Optional: Falls du möchtest, dass es noch besser aussieht, 
       kannst du noch eine Silbentrennung aktivieren */
    hyphens: auto; 
    -webkit-hyphens: auto;
  background: #ffffff;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  position: relative;
}

/* Die Legenden-Überschrift */
.about-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  position: absolute;
  top: -26px;
  left: 20px;
  background: #ffffff;
  padding: 0 10px;
  border: 2px solid #e0e0e0;
  font-weight: bold;
  border-radius: 5px;
}

/* Karten (Leistungen) */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Karte */
.card {
  flex: 1 1 250px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(230, 126, 34, 0.1);
  text-align: center;
}

.card .btn-review {
  margin-top: 1rem;
}

/* Portfolio-Bilder */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.portfolio-grid img {
  width: 100%;
  border-radius: 12px;
}

/* Partner */
.connected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* Karten */
.connected-grid img {
  width: 100%;
  border-radius: 12px;
}

/* Über mich */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

#textLEFT {
font-size: 0.95rem;
text-align: left;
margin-top: 0px;
}

.sekt {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.photo {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}

.ehrenurkunde { width: 100%; max-width: 320px; height: auto; }

.profilsektion { display: block; }

.urkunde-text { display: flex; flex-direction: column;gap: 0.1rem; }

/* Footer standardmäßig unter dem Textblock */
.urkunde-footer {
  grid-column: 2 / 3;
  margin-top: -160px;
}

@media (max-width: 1064px) {
  .urkunde-text { gap: 0.5rem; }
  .urkunde-footer {
    grid-column: 1 / -1; /* volle Breite unter Bild + Text */
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
  }

  .about-title {
        left: 50%;                 /* Startpunkt Mitte der Box */
        transform: translateX(-50%); /* Zentriert das Element exakt */
        white-space: nowrap;       /* Verhindert, dass der Text umbricht */
    }

  .sekt { grid-template-columns: 1fr; }
  .photo { grid-template-columns: 1fr; }

  .ehrenurkunde { 
    max-width: none;
  }

  .hide { 
    display: none;
   }


  .urkunde-footer {
    margin-top: -50px;
  }
}