/* ===========================================================
   ein Glaser – Website
   Statische Version (unabhängig von Wix)
   =========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --text: #2b2b2b;
  --text-soft: #555;
  --nav: #444;
  --line: #e6e6e6;
  --accent: #E5197B;          /* Pink – Markenfarbe (aus Logo-Bild) */
  --footer-bg: #1c1c1c;
  --header-h: 92px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Lato', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .nav a, .logo-text, .btn {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}

/* ---------------- Header ---------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  z-index: 1000;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 60px; width: auto; }
.logo-text { font-size: 15px; letter-spacing: 1px; color: var(--text); }

.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav a {
  font-size: 16px; letter-spacing: 2px; color: var(--nav);
  font-weight: 400; transition: color .2s;
}
.nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; width: 26px; height: 2px;
  background: var(--text); left: 7px; transition: .3s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* ---------------- Layout ---------------- */
main { padding-top: var(--header-h); flex: 1 0 auto; }
.section { padding: clamp(48px, 8vw, 90px) clamp(18px, 5vw, 60px); }
.container { max-width: 1180px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 600;
  color: #3d3d3d;
  margin-bottom: 42px;
  overflow-wrap: break-word;
}


/* ---------------- Rezensionen (Google) ---------------- */
.reviews { text-align: center; margin: 34px 0 6px; }
.reviews .stars { color: #f5b301; font-size: 1.7rem; letter-spacing: 3px; }
.reviews-text { color: var(--text-soft); margin: 6px 0 18px; font-size: 1.05rem; }
.reviews-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: #C21568; color: #fff; }

/* ---------------- Hero ---------------- */
.hero { text-align: center; padding: clamp(40px,7vw,70px) 20px 20px; }
.hero h1 {
  font-weight: 300;
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  line-height: 1.35; color: #333; margin: 0 auto 34px;
  max-width: 900px;
}
.hero h1 strong { font-weight: 700; }
.hero .seal { width: 132px; margin: 0 auto 28px; }
.hero-images {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; margin: 30px auto 0; max-width: 1000px;
}
.hero-images img { border-radius: 4px; max-height: 560px; width: auto; }

.reviews-link { text-align: center; margin: 30px 0 10px; }
.btn {
  display: inline-block; padding: 12px 30px; border: 1px solid var(--accent);
  color: var(--accent); letter-spacing: 2px; text-transform: uppercase;
  font-size: 14px; border-radius: 2px; transition: .25s;
}
.btn:hover { background: var(--accent); color: #fff; }

.hero-cta {
  text-align: center; margin-top: 26px; font-family: 'Montserrat',sans-serif;
  color: var(--text-soft); letter-spacing: 1px;
}
.hero-cta img { width: 60px; margin: 8px auto 0; }

/* ---------------- Leistungen Grid ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.tile {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 3px; background: #f2f2f2;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.06); }
.tile .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-family: 'Montserrat',sans-serif; letter-spacing: 1px;
  padding: 26px 14px 12px; font-size: 15px; opacity: 0; transition: opacity .3s;
}
.tile:hover .caption { opacity: 1; }
a.tile { cursor: pointer; }

/* ---------------- Kontakt ---------------- */
.kontakt-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.contact-info p { margin-bottom: 14px; }
.contact-info a { color: var(--accent); }
.contact-note {
  margin-top: 22px; padding: 16px 18px; background: #f7f7f7;
  border-left: 3px solid var(--accent); font-size: 15px; color: var(--text-soft);
}
.socials { display: flex; gap: 16px; margin-top: 24px; }
.socials a img { width: 30px; height: 30px; transition: transform .2s; }
.socials a:hover img { transform: translateY(-3px); }

form.anfrage { display: flex; flex-direction: column; gap: 14px; }
form.anfrage h3 { font-weight: 500; letter-spacing: 1px; margin-bottom: 4px; }
form.anfrage input, form.anfrage textarea {
  font-family: inherit; font-size: 15px; padding: 13px 14px;
  border: 1px solid #ccc; border-radius: 3px; background: #fff; color: var(--text);
}
form.anfrage textarea { min-height: 130px; resize: vertical; }
form.anfrage input:focus, form.anfrage textarea:focus { outline: none; border-color: var(--accent); }
form.anfrage button {
  align-self: flex-start; padding: 13px 40px; background: var(--accent);
  color: #fff; border: 0; border-radius: 3px; letter-spacing: 2px;
  text-transform: uppercase; font-size: 14px; cursor: pointer; transition: .25s;
}
form.anfrage button:hover { background: #C21568; }
.form-hint { font-size: 13px; color: #888; }

/* ---------------- Über mich ---------------- */
.about-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.about-wrap .portrait { border-radius: 6px; overflow: hidden; }
.about-text p { margin-bottom: 12px; font-size: 1.05rem; }
.about-text .name { font-family:'Montserrat',sans-serif; font-size:1.3rem; font-weight:600; margin-bottom:14px; }

.ausbildung { margin-top: 60px; }
.ausbildung h3 {
  text-align: center; letter-spacing: 4px; text-transform: uppercase;
  color: #3d3d3d; font-weight: 600; margin-bottom: 34px; font-size: 1.4rem;
}
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.timeline .step { border-top: 3px solid var(--accent); padding-top: 18px; }
.timeline .step .years { font-family:'Montserrat',sans-serif; color: var(--accent); font-weight:600; letter-spacing:1px; }
.timeline .step h4 { font-family:'Montserrat',sans-serif; margin: 6px 0 14px; font-size: 1.15rem; }
.timeline .step p { margin-bottom: 12px; }
.timeline .step strong { font-family:'Montserrat',sans-serif; }

/* ---------------- Videos ---------------- */
.videos-wrap { text-align: center; }
.videos-wrap p { max-width: 620px; margin: 0 auto 30px; font-size: 1.1rem; color: var(--text-soft); }
.video-icons { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.video-icons a img { width: 82px; height: 82px; transition: transform .25s; }
.video-icons a:hover img { transform: scale(1.1); }

/* ---------------- Urkunden ---------------- */
.urkunden-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.urkunden-grid img { max-height: 560px; width: auto; border: 1px solid var(--line); border-radius: 3px; }

/* ---------------- Subseiten ---------------- */
.page-head { text-align: center; padding: clamp(40px,6vw,70px) 20px 10px; }
.page-head h1 {
  font-size: clamp(1.5rem, 5.5vw, 2.6rem); letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600; color: #3d3d3d; margin-bottom: 20px;
  overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto;
}
.page-head .intro {
  max-width: 820px; margin: 0 auto; font-weight: 300;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.5; color: #444;
}
.gallery { column-count: 4; column-gap: 12px; margin-top: 44px; }
.gallery img {
  width: 100%; margin: 0 0 12px; border-radius: 3px; break-inside: avoid;
  transition: transform .35s, box-shadow .3s; cursor: zoom-in;
}
.gallery img:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
@media (max-width: 1000px){ .gallery { column-count: 3; } }
@media (max-width: 680px){ .gallery { column-count: 2; } }

.vorteile { max-width: 820px; margin: 54px auto 0; }
.vorteile h3 { font-family:'Montserrat',sans-serif; text-align:center; letter-spacing:2px; margin-bottom: 20px; color:#3d3d3d; }
.vorteile p { margin-bottom: 14px; }
.vorteile strong { font-family:'Montserrat',sans-serif; color: var(--accent); }

.back-link { text-align: center; margin-top: 50px; }

/* ---------------- Impressum / Datenschutz ---------------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h1 { font-size: 2rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 30px; color:#3d3d3d; }
.legal h2 { font-family:'Montserrat',sans-serif; font-size: 1.3rem; margin: 34px 0 12px; color:#333; }
.legal h3 { font-family:'Montserrat',sans-serif; font-size: 1.1rem; margin: 24px 0 8px; color:#444; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); word-break: break-word; }
.legal .subtle { color:#777; font-size: 14px; }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--footer-bg); color: #fff; text-align: center;
  padding: 42px 20px;
  flex-shrink: 0;
}
.footer .copy { font-family:'Montserrat',sans-serif; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 12px; }
.footer a { color: #fff; text-decoration: underline; margin: 0 8px; letter-spacing: 1px; }
.footer a:hover { color: #F5A9CE; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; }
  .nav {
    position: fixed; top: var(--header-h); right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    gap: 0; width: 240px; box-shadow: -4px 6px 18px rgba(0,0,0,.12);
    transform: translateX(105%); transition: transform .3s; padding: 8px 0;
    border-left: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }
  .nav a { width: 100%; padding: 14px 22px; border-bottom: 1px solid var(--line); }
  .kontakt-wrap { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; text-align: center; }
  .about-wrap .portrait { max-width: 300px; margin: 0 auto; }
  .timeline { grid-template-columns: 1fr; }
}

/* ---------------- WhatsApp ---------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.28); transition: transform .2s;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 4px 14px rgba(0,0,0,.28); }
  70%  { box-shadow: 0 0 0 20px rgba(37,211,102,0), 0 4px 14px rgba(0,0,0,.28); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 4px 14px rgba(0,0,0,.28); }
}
.wa-float svg { animation: wa-bob 2.2s ease-in-out infinite; }
@keyframes wa-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float svg { animation: none; }
}
.wa-float:hover { transform: scale(1.08); }
.wa-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: #fff; color: #222; font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  padding: 9px 15px; border-radius: 22px; box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.wa-label::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 7px solid transparent; border-left-color: #fff;
}
@media (max-width: 600px) {
  .wa-label { font-size: 13px; padding: 8px 12px; }
}

.wa-float svg { width: 34px; height: 34px; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; padding: 11px 22px; border-radius: 4px;
  font-family: 'Montserrat', sans-serif; letter-spacing: 1px; font-size: 14px;
  margin-top: 6px; transition: .2s;
}
.btn-wa:hover { background: #1da851; color: #fff; }
.contact-info .btn-wa, .contact-info .btn-wa:hover { color: #fff; }

@media (max-width: 600px){ .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } }

/* ---------------- Video-Einbettung ---------------- */
.video-embed {
  position: relative; width: 100%; max-width: 820px; margin: 44px auto 0;
  aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.14); background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- Video-Galerie (Klick zum Laden) ---------------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; margin: 8px auto 0; max-width: 1100px; }
.yt-facade { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; cursor: pointer; background: #000; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s, opacity .3s; }
.yt-facade:hover img { transform: scale(1.05); opacity: .8; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 44px; background: #ff0000; border-radius: 12px; pointer-events: none; }
.yt-play::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-40%,-50%); border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.yt-facade:hover .yt-play { background: #e60000; }

/* ---------------- Shorts (hochkant) ---------------- */
.video-grid.shorts { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); max-width: 900px; margin-top: 22px; }
.yt-facade.short { aspect-ratio: 9 / 16; }

/* ---------------- Google-Bewertungen ---------------- */
.reviews-stars-head { color: #f5b301; font-size: 1.7rem; letter-spacing: 4px; text-align: center; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; margin-top: 36px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; box-shadow: 0 4px 16px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.review-card .stars { color: #f5b301; font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { color: #444; font-size: 1rem; line-height: 1.65; margin-bottom: 22px; flex: 1 1 auto; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author svg { width: 34px; height: 34px; flex-shrink: 0; }
.review-author strong { font-family: 'Montserrat', sans-serif; display: block; font-size: .98rem; color: #222; }
.review-author .role { color: #888; font-size: .85rem; font-style: italic; }

/* ---------------- Sehr schmale Handys: lange Überschriften ---------------- */
@media (max-width: 600px) {
  .page-head h1 { letter-spacing: 1px; font-size: clamp(1.25rem, 7vw, 2rem); }
  .section-title { letter-spacing: 3px; }
}
