/* ==========================================================================
   modern.css — Veredelungs-Layer (2026)
   Wird NACH style.css geladen und modernisiert die Optik, ohne die
   Bootstrap-3-Struktur (Karussell, Lightbox, Scroll-JS) anzutasten.
   Markenfarben bleiben erhalten: Gold #fcbd20 + Anthrazit #222.
   ========================================================================== */

:root {
  --gold: #fcbd20;
  --gold-dark: #e0a513;
  --ink: #1c1c1c;
  --ink-soft: #2a2a2a;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Typografie ---------------------------------------------------- */
body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.2px;
}

h1, h2, h3, h4, h5,
.navbar-brand {
  font-family: 'Catamaran', 'Helvetica Neue', Arial, sans-serif;
}

h2 {
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.4em;
}

.lead {
  font-weight: 400;
  line-height: 1.7;
}

/* Dezente Akzentlinie unter zentrierten Überschriften */
.text-center > h2::after,
.center > h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 6px;
  background: var(--gold);
  border-radius: 4px;
}

/* ---------- Smooth scroll ------------------------------------------------- */
html { scroll-behavior: smooth; }

/* ---------- Navigation ---------------------------------------------------- */
.navbar-default {
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.navbar-default.affix {
  box-shadow: var(--shadow-sm);
  background-color: rgba(28, 28, 28, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.navbar-default .nav > li > a {
  position: relative;
  transition: color 0.25s var(--ease);
}
.navbar-default .nav > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.navbar-default .nav > li > a:hover::after {
  transform: scaleX(1);
}

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 10px 26px;
  border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.btn-lg {
  padding: 14px 34px;
}
.btn-primary {
  background-color: var(--gold);
  color: #1c1c1c;
  box-shadow: 0 6px 16px rgba(252, 189, 32, 0.35);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--gold-dark);
  color: #1c1c1c;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(252, 189, 32, 0.45);
}

/* ---------- Sektionen / Abstände ------------------------------------------ */
.pad-section {
  padding: 80px 0;
}
#about .lead { max-width: 820px; margin: 0 auto; }
.medium {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ---------- Service-Kacheln ----------------------------------------------- */
#services {
  background: linear-gradient(180deg, #232323 0%, #1a1a1a 100%);
}
#services h2 { color: #fff; }
#services hr {
  border-color: rgba(255, 255, 255, 0.12);
  max-width: 90px;
}
#services .col-sm-3 {
  padding: 22px 14px;
  border-radius: var(--radius);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
#services .col-sm-3:hover {
  background-color: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}
#services .glyphicon {
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
#services .col-sm-3:hover .glyphicon {
  border-color: var(--gold);
  box-shadow: 0 0 0 6px rgba(252, 189, 32, 0.08);
}
#services i.glyphicon-euro,
#services .glyphicon-time {
  color: var(--gold);
}
#services h4 {
  margin-top: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
#services p { color: rgba(255, 255, 255, 0.7); }

/* Service, der gerade pausiert ist */
.service-paused {
  position: relative;
  opacity: 0.85;
}
.service-paused .glyphicon {
  border-color: rgba(255, 255, 255, 0.15) !important;
  filter: grayscale(1);
}
.badge-paused {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #1c1c1c;
  background: var(--gold);
  border-radius: 999px;
}

/* ---------- Hinweis-Banner (Dirndl/Kleider, Urlaub etc.) ------------------ */
.site-notice {
  margin: 0;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #1c1c1c;
  background: linear-gradient(90deg, #fcbd20 0%, #ffd45e 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.site-notice strong { font-weight: 800; }
.site-notice .fa,
.site-notice .glyphicon {
  margin-right: 6px;
}

/* ---------- "Unsere Arbeiten" --------------------------------------------- */
#ourwork .grey-bg {
  background-color: rgba(20, 20, 20, 0.82) !important;
  border-radius: var(--radius);
  padding: 28px 24px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
#ourwork img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.yellow-bg, .black-bg {
  border-radius: 6px;
  padding: 4px 10px;
}

/* ---------- Reviews ------------------------------------------------------- */
#reviews {
  background: linear-gradient(135deg, #d89f25 0%, #c98c12 100%);
}
#reviews h3 {
  font-weight: 700;
  font-style: italic;
}
#reviews .carousel-caption h3::before {
  content: "\201C";
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
  opacity: 0.6;
}

/* ---------- Preis-Panel / Tabelle ----------------------------------------- */
.panel {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.panel-heading {
  background: #fff;
  padding: 26px 20px 6px;
}
.panel-heading h3 { font-weight: 800; }
.table > thead > tr > th {
  border-bottom: 2px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 13px;
  color: var(--muted);
}
.table > tbody > tr > td {
  padding: 14px 16px;
  vertical-align: middle;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #faf7ef;
}
.panel-footer {
  background-color: #fbfbfb !important;
  padding: 22px;
}

/* ---------- Karte (Leaflet / OpenStreetMap) ------------------------------- */
.map-wrap { position: relative; }
#map {
  height: 480px;
  width: 100%;
  border-top: 4px solid var(--gold);
  background: #e9e5dd;
  z-index: 0;
}
/* Dezenter, zum Design passender Look: nur die Kacheln entsättigen,
   Marker & Popup bleiben farbig/sichtbar (eigene Panes). */
#map .leaflet-tile-pane {
  filter: grayscale(0.9) contrast(0.96) brightness(1.03);
}
#map .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
#map .leaflet-popup-content { font-family: 'Lato', sans-serif; line-height: 1.5; }
#map .leaflet-bar a {
  color: #1c1c1c;
}
#map .leaflet-bar a:hover { background: var(--gold); color: #1c1c1c; }
.map-hint {
  margin: 0;
  padding: 12px 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  background: #f5f3ee;
  border-bottom: 1px solid #ece8df;
}
.map-hint a { color: var(--gold-dark); text-decoration: underline; }
.map-hint a:hover { color: var(--gold); }
.map-hint .fa { margin-right: 5px; }
@media (max-width: 767px) {
  #map { height: 360px; }
}

/* ---------- Kontakt / Footer ---------------------------------------------- */
#contact { background: linear-gradient(180deg, #232323 0%, #1a1a1a 100%); }
#contact h4 {
  letter-spacing: 1px;
  color: var(--gold);
}
.phone a, #contact a[href^="mailto"], #contact a[href^="tel"] {
  color: #fff;
  transition: color 0.2s var(--ease);
}
.phone a:hover, #contact a[href^="mailto"]:hover { color: var(--gold); }

footer {
  background-color: #131313;
  padding: 22px 0;
  color: #cfcfcf;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.footer-bottom strong { color: #fff; font-weight: 700; }
.footer-tag {
  margin-left: 12px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}
.footer-nav a {
  color: #cfcfcf;
  margin-left: 22px;
  font-size: 14px;
  letter-spacing: 0.4px;
  transition: color 0.2s var(--ease);
}
.footer-nav a:first-child { margin-left: 0; }
.footer-nav a:hover { color: var(--gold); }
@media (max-width: 767px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-tag { display: block; margin-left: 0; }
  .footer-nav a { margin: 0 10px; }
}

/* ---------- Kontaktformular ----------------------------------------------- */
.form-control {
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  box-shadow: none;
  padding: 12px 14px;
  height: auto;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(252, 189, 32, 0.15);
}
#contactform .panel-body { padding: 26px 28px 32px; }

/* ---------- Sanftes Einblenden beim Scrollen ------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Redesign-Erweiterung — kräftigere Elemente
   ========================================================================== */

/* ---------- Eyebrow-Labels ------------------------------------------------ */
.eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--gold); }
.eyebrow-dark { color: rgba(255, 255, 255, 0.85); }

/* Wenn eine Eyebrow direkt vor einer zentrierten h2 mit ::after-Linie steht,
   keine doppelte Lücke. */
.reveal .eyebrow + h2 { margin-top: 4px; }

/* ---------- Hero-Feinschliff ---------------------------------------------- */
.video-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.78) 100%);
}
#home .carousel-caption h1 {
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  font-size: 3.6em;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
#home .carousel-caption p {
  font-size: 1.15em;
  font-weight: 400;
  max-width: 620px;
  margin: 0 auto 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Scroll-Indikator unten am Hero */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-size: 18px;
  animation: bob 2s var(--ease) infinite;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.scroll-hint:hover,
.scroll-hint:focus {
  color: #1c1c1c;
  background: var(--gold);
  border-color: var(--gold);
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}

/* ---------- Kennzahlen-Leiste (Heritage) ---------------------------------- */
.stats-band {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #ececec;
}
.stats-band .stat {
  text-align: center;
  padding: 10px 6px;
}
.stat-num {
  display: block;
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  font-size: 2.8em;
  line-height: 1;
  color: var(--gold-dark);
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Service-Kacheln als Karten ------------------------------------ */
#services .col-sm-3 {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}
#services .col-sm-3:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(252, 189, 32, 0.35);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}
@media (min-width: 768px) {
  /* gleich hohe Karten dank Flex-Reihe */
  #services .row { display: flex; flex-wrap: wrap; }
  #services .row::before,
  #services .row::after { display: none; }
  #services .row > [class*="col-"] { display: flex; flex-direction: column; }
  /* Nur den fix breiten Icon-Kreis zentrieren; Textblöcke bleiben volle Breite */
  #services .col-sm-3 > .glyphicon { align-self: center; }
}

/* ---------- CTA-Band ------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--gold) 0%, #ffd45e 100%);
  color: #1c1c1c;
  padding: 52px 0;
}
.cta-band h2 {
  margin-top: 0;
  font-weight: 800;
}
.cta-band p {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.85;
}
.cta-band .text-center > h2::after { display: none; }
.cta-actions {
  text-align: right;
  padding-top: 8px;
}
.btn-dark {
  background: #1c1c1c;
  color: #fff;
}
.btn-dark:hover, .btn-dark:focus {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}
.cta-phone {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 1.15em;
  color: #1c1c1c;
}
.cta-phone:hover { color: #1c1c1c; text-decoration: underline; }
@media (max-width: 767px) {
  .cta-actions { text-align: left; margin-top: 18px; }
}

/* ---------- "So finden Sie uns" ------------------------------------------- */
#findus { background-color: #fafafa; }

/* ---------- Kontaktseite -------------------------------------------------- */
#contactform .panel-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}
#contactform h1 {
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 2px 0 8px;
}
.panel-subline {
  color: var(--muted);
  font-size: 1.05em;
  max-width: 620px;
  margin: 0 auto;
}
.contact-grid { margin-top: 22px; }

/* Infokarte neben dem Formular */
.contact-aside {
  background: linear-gradient(180deg, #232323 0%, #1a1a1a 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  height: 100%;
}
.contact-aside h4 {
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 15px;
  margin: 0 0 16px;
}
.contact-aside hr { border-color: rgba(255, 255, 255, 0.12); margin: 22px 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.contact-list .ci {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: rgba(252, 189, 32, 0.15);
  color: var(--gold);
  font-size: 16px;
}
.contact-list a { color: #fff; transition: color 0.2s var(--ease); }
.contact-list a:hover { color: var(--gold); }
.hours { width: 100%; }
.hours td { padding: 5px 0; color: rgba(255, 255, 255, 0.82); }
.hours td:last-child { text-align: right; font-weight: 700; color: #fff; }

/* Radio-Buttons / Pflicht-Hinweise etwas luftiger */
#contactform .radio-inline { margin-bottom: 6px; }

@media (max-width: 991px) {
  .contact-aside { margin-top: 26px; }
}

/* ---------- Mobile-Feinschliff (Redesign) --------------------------------- */
@media (max-width: 767px) {
  #home .carousel-caption h1 { font-size: 2.3em; }
  .stat-num { font-size: 2.2em; }
  .stats-band .stat { margin-bottom: 8px; }
}

/* ---------- Feinschliff Mobile -------------------------------------------- */
@media (max-width: 767px) {
  .pad-section { padding: 56px 0; }
  #ourwork .grey-bg { margin-bottom: 24px; }
  .text-center > h2::after, .center > h2::after { margin-top: 14px; }
}
