/* =========================================================
   style.css
   ---------------------------------------------------------
   ZIEL:
   - hell
   - modern
   - freundlich
   - Reiter oben jetzt alle passend eingefärbt
   - bestehendes Layout bleibt erhalten

   WAS WURDE GEÄNDERT?
   - Navigation farbiger gemacht
   - Home bekommt eigene sanfte blaue Fläche
   - Galerie bekommt eigene sanfte aqua/türkis Fläche
   - Kontakt bleibt als Accent kräftiger
   - Über mich bleibt warm / orange-beige
   ========================================================= */


/* =========================================================
   1) VARIABLEN
   ---------------------------------------------------------
   Zentrale Farben und Maße
   ========================================================= */
:root{
  --bg: #f6feff;
  --text: #0f172a;
  --muted: rgba(15,23,42,.68);
  --line: rgba(15,23,42,.10);

  --aqua: #10cfc7;
  --blue: #2a8cff;
  --warm: #ff7a00;

  --wrap: 1180px;
  --r: 22px;
}


/* =========================================================
   2) RESET
   ---------------------------------------------------------
   Kleine Grundregeln für sauberes Verhalten
   ========================================================= */
*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
}

img{
  display:block;
  max-width:100%;
}


/* =========================================================
   3) BODY / GRUNDHINTERGRUND
   ---------------------------------------------------------
   Weicher heller Hintergrund mit Farbverlauf
   ========================================================= */
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(16,207,199,.18), transparent 60%),
    radial-gradient(900px 520px at 88% 0%, rgba(42,140,255,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), #f7fbff);
  line-height: 1.5;
}


/* =========================================================
   4) WRAP
   ---------------------------------------------------------
   Einheitliche maximale Breite der Seite
   ========================================================= */
.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}


/* =========================================================
   5) HEADER
   ---------------------------------------------------------
   Oberer Bereich mit Logo und Navigation
   ========================================================= */
.top{
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.top-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}


/* =========================================================
   6) BRAND / LOGO
   ---------------------------------------------------------
   Logo mit Titel und Untertitel
   ========================================================= */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
}

.logo{
  width: 78px;
  height: 78px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}

.brand-name{
  font-weight: 950;
  font-size: 1.55rem;
  letter-spacing: .2px;
}

.brand-sub{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}


/* =========================================================
   7) NAVIGATION
   ---------------------------------------------------------
   Reiter oben rechts

   NEU:
   - alle Reiter bekommen Farbe
   - Home = sanft blau
   - Galerie = sanft türkis
   - Kontakt = türkis/blau accent
   - Über mich = warm/orange
   ========================================================= */
.nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}


/* ---------------------------------------------------------
   Basisstil für alle Reiter
   --------------------------------------------------------- */
.nav-btn{
  text-decoration:none;
  font-weight: 950;
  color: rgba(15,23,42,.90);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.nav-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(42,140,255,.35);
  box-shadow: 0 16px 36px rgba(15,23,42,.10);
}


/* ---------------------------------------------------------
   HOME
   ---------------------------------------------------------
   Erster Reiter bekommt eine ruhige hellblaue Fläche
   ========================================================= */
.nav a:nth-child(1).nav-btn{
  border-color: rgba(42,140,255,.20);
  background: linear-gradient(90deg, rgba(42,140,255,.10), rgba(255,255,255,.90));
}


/* ---------------------------------------------------------
   GALERIE
   ---------------------------------------------------------
   Zweiter Reiter bekommt eine sanfte aqua/türkise Fläche
   ========================================================= */
.nav a:nth-child(2).nav-btn{
  border-color: rgba(16,207,199,.22);
  background: linear-gradient(90deg, rgba(16,207,199,.12), rgba(255,255,255,.92));
}


/* ---------------------------------------------------------
   KONTAKT
   ---------------------------------------------------------
   Bleibt etwas stärker hervorgehoben
   ========================================================= */
.nav-btn-accent{
  border-color: rgba(16,207,199,.28);
  background: linear-gradient(90deg, rgba(16,207,199,.18), rgba(42,140,255,.12));
}


/* ---------------------------------------------------------
   ÜBER MICH
   ---------------------------------------------------------
   Bleibt warm / orange / freundlich
   ========================================================= */
.nav-btn-ghost{
  border-color: rgba(255,122,0,.22);
  background: linear-gradient(90deg, rgba(255,122,0,.14), rgba(16,207,199,.10));
}


/* ---------------------------------------------------------
   AKTIVE SEITE
   ---------------------------------------------------------
   Falls irgendwo .active verwendet wird, bleibt die aktive
   Seite etwas deutlicher sichtbar.
   ========================================================= */
.nav-btn.active{
  box-shadow: 0 16px 36px rgba(15,23,42,.10);
}


/* =========================================================
   8) HERO
   ---------------------------------------------------------
   Zentrale Einleitung im oberen Seitenbereich
   ========================================================= */
.hero{
  padding: 18px 0 10px;
}

.hero-center{
  text-align:center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-tag{
  display:inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 950;
  color: rgba(15,23,42,.86);
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
}

.hero-title{
  margin: 12px 0 8px;
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  line-height: 1.05;
}


/* ---------------------------------------------------------
   Kleiner farbiger Akzent unter der Überschrift
   --------------------------------------------------------- */
.hero-mark{
  width: 72px;
  height: 8px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  box-shadow: 0 10px 28px rgba(16,207,199,.18);
}

.hero-text{
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}


/* =========================================================
   9) SECTION HEAD
   ---------------------------------------------------------
   Überschriften von Bereichen
   ========================================================= */
.section{
  padding: 14px 0;
}

.section-head{
  margin-bottom: 10px;
}

.section-head h2{
  margin:0;
  font-size: 1.35rem;
}


/* =========================================================
   10) GALERIE GRID
   ---------------------------------------------------------
   Alle Bilder nebeneinander
   ========================================================= */
.grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.tile{
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}


/* =========================================================
   11) TILE / BILDRAHMEN
   ---------------------------------------------------------
   Blatt-auf-Blatt Effekt
   ========================================================= */
.tile-frame{
  position: relative;
  height: 340px;
  border-radius: var(--r);
}

/* beide Blätter exakt gleich ausgerichtet */
.sheet{
  position:absolute;
  inset: 0;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

/* farbiges Blatt unten */
.sheet-color.sheet-a{
  background: rgba(16,207,199,.18);
}

.sheet-color.sheet-b{
  background: rgba(42,140,255,.16);
}

.sheet-color.sheet-c{
  background: rgba(255,122,0,.12);
}

/* weißes Blatt oben */
.sheet-white{
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 38px rgba(15,23,42,.08);
  transition: box-shadow .18s ease, border-color .18s ease;
}

/* Bildbereich */
.tile-img{
  position:absolute;
  inset: 10px;
  border-radius: 18px;
  overflow:hidden;
}

/* leichter Hover-Effekt */
.tile-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
  will-change: transform;
}

.tile:hover .tile-img img{
  transform: scale(1.04) translateY(-6px);
}

.tile:hover .sheet-white{
  box-shadow: 0 22px 48px rgba(15,23,42,.10);
  border-color: rgba(42,140,255,.28);
}

.tile-cap{
  margin-top: 10px;
  font-weight: 950;
  color: rgba(15,23,42,.85);
}


/* =========================================================
   12) KONTAKT
   ---------------------------------------------------------
   Kontaktkasten unten
   ========================================================= */
.contact{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: 0 16px 38px rgba(15,23,42,.06);
  text-align: center;
}

.contact h2{
  margin:0 0 8px;
  font-size: 1.4rem;
}

.contact p{
  margin: 0 auto 12px;
  max-width: 72ch;
  color: var(--muted);
}

.mail{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16,207,199,.25);
  background: linear-gradient(90deg, rgba(16,207,199,.12), rgba(42,140,255,.10));
  font-weight: 950;
  color: #0a8f8a;
  text-decoration:none;
}

.mail:hover{
  border-color: rgba(42,140,255,.30);
  box-shadow: 0 14px 34px rgba(16,207,199,.14);
}


/* =========================================================
   13) FOOTER
   ---------------------------------------------------------
   Einfacher Footer unten
   ========================================================= */
.footer{
  text-align:center;
  padding: 14px 0 6px;
}

.footer-links a{
  color: rgba(15,23,42,.75);
  font-weight: 950;
  text-decoration:none;
}

.footer-links a:hover{
  color: rgba(15,23,42,.95);
}

.footer-links span{
  color: rgba(15,23,42,.35);
  padding: 0 10px;
}

.footer-copy{
  margin-top: 6px;
  color: rgba(15,23,42,.55);
  font-weight: 700;
}


/* =========================================================
   14) LIGHTBOX
   ---------------------------------------------------------
   Großansicht für Bilder
   ========================================================= */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  background: rgba(0,0,0,.74);
  z-index: 50;
}

.lightbox.open{
  display:flex;
}

.lb-img{
  max-width: min(1200px, 96vw);
  max-height: 86vh;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
}

.lb-close{
  position: fixed;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.14);
  color:#fff;
  font-size: 28px;
  cursor:pointer;
}


/* =========================================================
   15) RESPONSIVE
   ---------------------------------------------------------
   Tablet und Handy
   ========================================================= */
@media (max-width: 1100px){
  .grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px){
  .grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-frame{
    height: 300px;
  }

  .logo{
    width: 70px;
    height: 70px;
  }

  .brand-name{
    font-size: 1.35rem;
  }

  .nav-btn{
    padding: 9px 12px;
  }
}