:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey: #8a8a8a;
  --grey-light: #f4f4f2;
  --gold: #b8975a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 200;
  transition: width 0.1s linear;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

h1, h2, h3 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Logo */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 101;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.35);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--black);
  border-bottom-color: rgba(184,151,90,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 80px;
  transition: background 0.4s ease;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: background 0.3s ease;
}

.site-header.scrolled .menu-toggle span {
  background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }
  .site-header.scrolled .header-inner {
    height: 64px;
  }
  .logo {
    font-size: 15px;
    letter-spacing: 1px;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e5e5e5;
    flex-direction: column;
    gap: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-header.scrolled .nav {
    background: var(--black);
    border-bottom-color: rgba(184,151,90,0.4);
    top: 64px;
  }
  .nav.active {
    max-height: 500px;
  }
  .nav a {
    display: block;
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    margin-left: 0;
    font-size: 14px;
  }
  .site-header.scrolled .nav a {
    color: var(--white);
    border-bottom-color: rgba(184,151,90,0.2);
  }
}

.logo {
  color: var(--black);
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 18px;
  letter-spacing: 2.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s, color 0.4s ease;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header.scrolled .logo {
  color: var(--white);
}

.logo:hover { opacity: 0.85; }

.logo span {
  color: var(--gold);
}

.logo-mark {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 34px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .logo-img {
  height: 30px;
}

.logo-img-dark {
  display: none;
}

.site-header.scrolled .logo-img-light {
  display: none;
}

.site-header.scrolled .logo-img-dark {
  display: block;
}

.footer-logo-img {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto 16px;
}

.nav a {
  color: var(--black);
  text-decoration: none;
  margin-left: 32px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.4s ease;
}

.site-header.scrolled .nav a {
  color: var(--white);
}

.nav a:hover { opacity: 1; }

.nav a.active {
  opacity: 1;
  color: var(--gold) !important;
}

/* Hero */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 160px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% 0 -10% 0;
  background:
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05), transparent 50%);
  pointer-events: none;
  will-change: transform;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 26%;
  width: 72vmin;
  height: 72vmin;
  transform: translate(-50%, -50%);
  transition: left 8s ease-in-out, top 8s ease-in-out;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: left, top;
}

.hero-glow-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,151,90,0.5), transparent 70%);
  filter: blur(25px);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

/* Dezente Linien im Hero, die mit unregelmäßigem Tempo "gezeichnet" werden */
.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-line {
  stroke: var(--gold);
  stroke-width: 1px;
  stroke-linecap: round;
  fill: none;
}

.hero-strand {
  stroke: url(#heroLineFade);
  opacity: 0;
  stroke-dasharray: 1100 2200;
  stroke-dashoffset: 2200;
  animation: lineDraw var(--hero-line-duration, 9s) cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: var(--hero-line-delay, 0s);
}

.hero-strand-2 {
  animation-duration: var(--hero-line-duration-2, 9.3s);
  animation-delay: var(--hero-line-delay-2, 0.15s);
}

.hero-strand-3 {
  animation-duration: var(--hero-line-duration-3, 8.8s);
  animation-delay: var(--hero-line-delay-3, 0.3s);
}

.hero-strand-4 {
  animation-duration: var(--hero-line-duration-4, 9.6s);
  animation-delay: var(--hero-line-delay-4, 0.45s);
}

@keyframes lineDraw {
  0%   { stroke-dashoffset: 2200; opacity: 0; }
  12%  { opacity: 0.14; }
  50%  { stroke-dashoffset: 550; opacity: 0.14; }
  88%  { opacity: 0.14; }
  100% { stroke-dashoffset: -1100; opacity: 0; }
}

@media (max-width: 640px) {
  .hero-lines {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto;
}

.hero-inner h1 {
  font-size: 48px;
  margin: 0 auto 20px;
  line-height: 1.25;
}

.hero-inner em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  color: var(--grey);
  font-size: 17px;
  margin: 0 auto 36px;
  max-width: 460px;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--white);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,255,255,0.12);
}

/* Zitate-Marquee im Hero */
.quote-marquee {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  overflow: hidden;
  border-top: 1px solid rgba(184,151,90,0.25);
  padding-top: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.quote-track {
  display: flex;
  width: max-content;
  gap: 60px;
  animation: quoteScroll 32s linear infinite;
}

.quote-item {
  white-space: nowrap;
  color: var(--grey);
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 15px;
}

.quote-item em {
  color: var(--gold);
  font-style: normal;
  margin-left: 4px;
}

@keyframes quoteScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 90px 0;
}

.section.alt {
  background: var(--grey-light);
  border-top: 1px solid rgba(184,151,90,0.35);
  border-bottom: 1px solid rgba(184,151,90,0.35);
}

.section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 0;
  transition: width 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.section h2.is-visible::after,
.termin-section h1.is-visible::after {
  width: 50px;
}

/* Leistungen grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.grid-single {
  max-width: 360px;
  margin: 0 auto;
}

.card {
  position: relative;
  border: 1px solid #e5e5e5;
  padding: 40px 24px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  border-color: var(--gold);
}

.card-index {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.card p {
  color: var(--grey);
  font-size: 14px;
}

/* Galerie */
.gallery-row {
  display: flex;
  gap: 16px;
}

.gallery-row .gallery-item {
  flex: 1 1 0;
  min-width: 0;
}

.gallery-item-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.gallery-item-wrap .gallery-item {
  width: 100%;
}

.galerie-more {
  position: absolute;
  top: -34px;
  right: 0;
  color: var(--black);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.galerie-more:hover {
  gap: 10px;
  color: var(--gold);
}

.gallery-item {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  overflow: hidden;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.gallery-item img.img-top {
  transform: scale(1.05);
  object-position: center 65%;
}

.gallery-item img.img-zoom {
  transform: scale(1.32);
  object-position: 65% 15%;
}

@media (max-width: 700px) {
  .gallery-row {
    flex-wrap: wrap;
  }
  .gallery-row .gallery-item,
  .gallery-item-wrap {
    flex: 1 1 calc(50% - 8px);
  }
}

/* Feature-Block (Leistungen, Über mich – wiederverwendbares Baukastensystem, gespiegelt via .feature-grid-reverse) */
.feature-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.feature-grid-reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-grid-reverse .feature-text {
  order: 1;
}

.feature-grid-reverse .feature-photo {
  order: 2;
}

.feature-photo-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: var(--white);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.feature-photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.feature-text h2 {
  text-align: left;
  margin-bottom: 24px;
}

.feature-text h2::after {
  margin: 18px 0 0;
}

.feature-text h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.feature-text p {
  color: var(--grey);
  font-size: 15px;
  margin-bottom: 16px;
}

.feature-text p:last-of-type {
  margin-bottom: 0;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.feature-tags span {
  border: 1px solid var(--gold);
  color: var(--black);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover {
  background: transparent;
  color: var(--black);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

@media (max-width: 760px) {
  .feature-grid,
  .feature-grid-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-grid-reverse .feature-text {
    order: 2;
  }
  .feature-grid-reverse .feature-photo {
    order: 1;
  }
  .feature-text h2 {
    text-align: center;
  }
  .feature-text h2::after {
    margin: 18px auto 0;
  }
  .feature-text p {
    text-align: center;
  }
  .feature-tags {
    justify-content: center;
  }
  .feature-text .btn {
    display: block;
    text-align: center;
  }
}

/* Ablauf */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #e5e5e5;
}

.step {
  text-align: center;
  padding: 36px 24px;
  border-left: 1px solid #e5e5e5;
}

.step:first-child {
  border-left: none;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  color: var(--grey);
  font-size: 14px;
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step:nth-child(3) {
    border-left: none;
  }
  .step:nth-child(1),
  .step:nth-child(2) {
    border-bottom: 1px solid #e5e5e5;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-left: none !important;
    border-bottom: 1px solid #e5e5e5;
  }
  .step:last-child {
    border-bottom: none;
  }
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5e5e5;
  padding: 20px 24px;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Georgia', serif;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 20px;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--grey);
  font-size: 14px;
  margin-top: 14px;
}

/* Kontakt */
.kontakt-intro {
  text-align: center;
  color: var(--grey);
  font-size: 18px;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 620px) {
  .kontakt-intro {
    white-space: nowrap;
    max-width: none;
  }
}

.termin-call-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto 50px;
  padding: 12px 24px;
  border: 1px solid rgba(184,151,90,0.4);
  border-radius: 30px;
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.termin-call-hint svg {
  color: var(--gold);
  flex-shrink: 0;
}

.termin-call-hint strong {
  color: var(--gold);
  font-weight: 600;
}

.termin-call-hint:hover {
  border-color: var(--gold);
  background: rgba(184,151,90,0.06);
}

@media (max-width: 500px) {
  .termin-call-hint {
    text-align: left;
    white-space: normal;
    padding: 12px 20px;
  }
}

.kontakt-cta {
  text-align: center;
  margin-bottom: 56px;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  max-width: 920px;
  margin: 0 auto;
}

.kontakt-info h3,
.kontakt-form-wrap h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.kontakt-info h3:not(:first-child) {
  margin-top: 36px;
}

.hours-note {
  color: var(--grey);
  font-size: 15px;
}

.kontakt-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.kontakt-social svg {
  flex-shrink: 0;
  color: var(--gold);
}

.kontakt-social:hover {
  color: var(--gold);
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-list li {
  font-size: 15px;
  color: var(--black);
}

.info-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.info-list a {
  color: var(--black);
  text-decoration: none;
}

.info-list a:hover {
  color: var(--gold);
}

.info-list-cols li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  column-gap: 12px;
}

.info-list-cols .info-label {
  margin-bottom: 0;
}

@media (max-width: 460px) {
  .info-list-cols li {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--grey);
}

.hours-list li span:first-child {
  color: var(--black);
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey);
}

.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
  border: 1px solid #ddd;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  resize: none;
  width: 100%;
  background: var(--white);
  color: var(--black);
}

.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.kontakt-form .btn {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  align-self: flex-start;
  padding: 14px 48px;
  margin-top: 8px;
}

.kontakt-form .btn:hover {
  background: transparent;
  color: var(--black);
}

@media (max-width: 760px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .kontakt-form .btn {
    align-self: center;
  }
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--grey);
  padding: 56px 0 28px;
  font-size: 13px;
  border-top: 2px solid var(--gold);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
  text-align: left;
}

.footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  font-family: 'Georgia', serif;
  font-size: 20px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-address {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}

.footer-address a {
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-address a:hover {
  color: var(--gold);
}

.footer-hours {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-top: 12px;
  font-style: italic;
}

.footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: var(--white);
  opacity: 0.75;
  display: inline-flex;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-nav a,
.footer-nav a:visited {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
}

@media (max-width: 600px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  .footer-col-right {
    align-items: center;
  }
  .footer-nav {
    align-items: center;
  }
}

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 34px;
  margin-bottom: 32px;
}

.legal h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal p {
  color: var(--grey);
  font-size: 15px;
}

.legal-note {
  margin-top: 40px;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--grey-light);
  color: var(--black);
  font-size: 13px;
}

@media (max-width: 640px) {
  .nav a { margin-left: 16px; font-size: 12px; }
  .hero-inner h1 { font-size: 32px; }
}

/* Back-to-top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* Skip link (Barrierefreiheit) */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: var(--gold);
  color: var(--black);
  padding: 12px 20px;
  font-size: 14px;
  text-decoration: none;
  z-index: 300;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Seiten-Fade-in */
body {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-loaded {
  opacity: 1;
}

/* Baustellen-Banner */
.construction-banner {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--gold);
  color: var(--black);
  padding: 14px 24px;
  font-size: 14px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.construction-banner button {
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
  font-size: 24px;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
}

.construction-banner button:hover {
  opacity: 0.7;
}

/* Aktiver Nav-Link (Scroll-Spy) */
.nav a.active {
  opacity: 1;
  color: var(--gold);
}

/* Preis-Hinweis bei Leistungen */
.price-note {
  color: var(--grey);
  font-size: 13px;
  font-style: italic;
  margin-top: 20px;
}

/* Formular-Hinweis */
.form-note {
  color: var(--grey);
  font-size: 12px;
  text-align: left;
  margin-bottom: 12px;
}

.form-note.form-error {
  color: #b3261e;
}

.form-success {
  color: var(--black);
  font-size: 16px;
  text-align: center;
  padding: 20px 0 8px;
}

.form-success-note {
  color: var(--grey);
  font-size: 14px;
  text-align: center;
  margin-bottom: 8px;
}

.form-checkmark {
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.form-checkmark svg {
  width: 64px;
  height: 64px;
}

.form-checkmark-circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: checkmarkCircle 0.5s ease-out forwards;
}

.form-checkmark-tick {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkmarkTick 0.35s ease-out 0.45s forwards;
}

@keyframes checkmarkCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes checkmarkTick {
  to { stroke-dashoffset: 0; }
}

.calendar-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

/* Quick-Contact (WhatsApp/Anruf) */
.quick-contact {
  position: fixed;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.quick-contact-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quick-contact-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.termin-section h1 {
  text-align: center;
}

.termin-section h1::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 28px;
  transition: width 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

/* Zugangssperre (temporärer PIN-Schutz) */
.site-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--black);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-gate-box {
  max-width: 340px;
  width: 100%;
  text-align: center;
}

.site-gate-logo-text {
  font-family: 'Georgia', serif;
  font-size: 24px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--white);
  margin: 0 auto 24px;
}

.site-gate-logo-text span {
  color: var(--gold);
}

.site-gate-text {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 24px;
}

#siteGateForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#siteGatePin {
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  padding: 14px 16px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 4px;
}

#siteGatePin::placeholder {
  color: var(--grey);
  letter-spacing: normal;
}

#siteGatePin:focus {
  outline: none;
  border-color: var(--gold);
}

.site-gate-box .btn {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.site-gate-box .btn:hover {
  background: transparent;
  color: var(--white);
}

.site-gate-error {
  color: #e8877d;
  font-size: 13px;
  margin-top: 14px;
  min-height: 16px;
}

/* 404-Seite */
.notfound-hero {
  padding: 180px 24px 100px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.notfound-code {
  font-family: 'Georgia', serif;
  font-size: 120px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 8px;
  letter-spacing: 4px;
}

.notfound-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.notfound-shortcuts {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(184,151,90,0.25);
}

.notfound-shortcuts a {
  color: var(--grey);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.notfound-shortcuts a:hover {
  color: var(--gold);
}

@media (max-width: 560px) {
  .notfound-code {
    font-size: 80px;
  }
}
