@import "css/magnifier.css";
@import "css/review-section.css"; 
@import "css/tooltipp.css"; 
@import "css/lightbox.css"; 

/* Grundlayout */
body {
  font-family: "Helvetica", Arial, sans-serif;
  margin: 0;
  background-color: #fdfaf7;
  color: #333;
  line-height: 1.6;
}

/* Start */
#splash {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #FFD200, #FF0064); /* Gradient statisch */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    opacity: 1;
    animation: fadeOut 3s forwards 2s; /* nach 2s ausblenden */
}

/* Logo */
#splash img {
    width: 90vw;
    max-width: 512px;
    height: auto;
    animation: logoZoomFade 3s forwards;
}

/* Animation */
@keyframes logoZoomFade {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0; /* Logo faden */
    }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; } /* Gradient + Overlay ausblenden */
}

/* 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="#" */
}

/* Header / Hero */
header.hero {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #fff3e0;
}

h1,h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #e67e22;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #cf711f;
   transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.btn-wrapper {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-review {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-review:hover {
  background-color: #1558d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* Hauptabschnitte */
.section {
  padding: 2rem 2rem;
  max-width: 1000px;
  margin: auto;
}

/* 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;
}

/* Portfolio-Bilder */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}


/* Portfolio */
.connected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* Bilder */
.connected-grid img {
  width: 100%;
  border-radius: 12px;
}

.portfolio-grid img {
  width: 100%;
  border-radius: 12px;
}

/* Über mich */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

/* Kontaktformular */
.contact form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}

input,
textarea,
button {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  background-color: #e67e22;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #cf711f;
}

.urkunde-section{
  background-color: #F3F5F8;

}

h2 {
  text-align: center;
}

.hidden {
    display: none !important;
}

.form-group {
  margin-bottom: 20px;
}

  /* Mobile First: Untereinander */
  .row {
     margin-bottom: 0px;

  }
  .col {
    flex: 1 1 100%; /* volle Breite */
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
input[type="text"],
input[type="email"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    box-sizing: border-box;
  }

/* Fieldset komplett ohne Rahmen */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Legend ohne Rahmen, kein Padding, klare Schrift */
legend {
  border: none;        /* entfernt jegliche Linie */
  padding: 0;          /* entfernt standardmäßiges Padding */
  margin-bottom: 10px; /* optionaler Abstand nach unten */
  font-weight: 500;
  font-size: 1rem;
  display: block;      /* sorgt für Block-Darstellung */
}

#textLEFT {
font-size: 0.95rem;
text-align: left;
margin-top: 0px;
}

.sekt {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.ehrenurkunde { width: 100%; max-width: 320px; height: auto; }

.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;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: #fff3e0;
  color: #333;
  padding: 2rem 4rem;
  font-size: 0.9rem;
  margin-top: 4rem;
  border-top: 1px solid #ddd;
  gap: 2rem;
}

.footer-top-box {
  text-align: left;
}

.footer-bottom-box {
  text-align: right;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 12px; /* Abstand zwischen den Icons */
  align-items: center; /* Vertikale Ausrichtung */
}

.social-links a {
  text-decoration: none; /* Unterstreichung entfernen */
  border: none; /* Eventuelle Rahmen entfernen */
}

@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) {
  .sekt { grid-template-columns: 1fr; }
  .ehrenurkunde { 
    max-width: none;
}
.urkunde-footer {
    margin-top: -50px;
  }

.footer-top-box,
.footer-bottom-box {
  text-align: center;
}
  
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

 .social-links {
    justify-content: center; /* Icons mittig auf kleinen Bildschirmen */
  }
}
