@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

/* ===== Header Variables (optional) ===== */
:root{
  --brand: rgb(0 128 128);
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 14px;
  --card: #fff
}

/* ===== TOPBAR (Telefonzeile) =====
   Wenn du eine eigene Leiste oben hast, gib ihr z.B. .topbar
   oder nutze den Selektor auf dein Element anpassen.
*/
.topbar{
  background: var(--brand);
  color: rgba(255,255,255,.92);
  font-size: .9rem;
  padding: .35rem 0;          /* weniger Höhe */
  letter-spacing: .01em;
}
.topbar a{
  color: inherit;
  text-decoration: none;
  opacity: .95;
}
.topbar a:hover{ opacity: 1; }

/* ===== MAIN HEADER WRAPPER =====
   Passe den Selektor an: z.B. header, .header, .mod_navigation etc.
*/
header{
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid var(--border);
  /* optional sticky + blur für modernen Look */
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ===== Layout spacing ===== */
header .container,
header .inside{
  padding-top: .85rem;         /* weniger "luftig" als vorher */
  padding-bottom: .85rem;
}

/* ===== Logo: weniger "plakatig", mehr Präzision =====
   Falls du ein Bildlogo hast: */
header .logo img{
  height: 54px;                /* sauber, einheitlich */
  width: auto;
  display: block;
}

/* Falls dein Logo Text ist */
header .navbar-brand{
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
}
header .navbar-brand small,
header .navbar-brand span{
  color: var(--muted);
  font-weight: 500;
}

/* ===== Navigation: modern minimal ===== */
header .navbar-nav{
  gap: .25rem;                 /* kleine Abstände, wirkt hochwertiger */
}

header .nav-link{
  color: rgba(15,23,42,.78) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: .55rem .75rem;
  border-radius: 999px;        /* pill look – modern & ruhig */
  transition: background .15s ease, transform .15s ease, color .15s ease;
}

header .nav-link:hover{
  background: rgba(0, 128, 128, .08);
  color: rgba(15,23,42,.92) !important;
  transform: translateY(-1px);
}

/* Active state (Bootstrap setzt oft .active oder aria-current) */
header .nav-link.active,
header .nav-link[aria-current="page"]{
  background: rgba(0, 128, 128, .14);
  color: rgba(15,23,42,.95) !important;
}

/* ===== Optional: "Kontakt/Telefon" NICHT als CTA, aber als Chip =====
   Wenn du irgendwo im Header die Nummer als Element hast, gib ihr z.B. .header-chip */
.header-chip{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: rgba(15,23,42,.80);
  background: rgba(255,255,255,.75);
}
.header-chip .bi{ color: var(--brand); }

/* ===== Mobile: weniger Höhe, saubere Toggles ===== */
@media (max-width: 991.98px){
  header .container,
  header .inside{
    padding-top: .65rem;
    padding-bottom: .65rem;
  }

  header .navbar-collapse{
    padding-top: .75rem;
  }

  header .nav-link{
    padding: .65rem .85rem;
    border-radius: 12px;        /* weniger pillig im collapsed state */
  }
}

/* ===== Bootstrap Toggler: moderner ===== */
header .navbar-toggler{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .45rem .55rem;
}
header .navbar-toggler:focus{
  box-shadow: 0 0 0 .2rem rgba(0,128,128,.18);
}

body{
  color: var(--text);
}

.bg-soft { background: #00808036; }

.service-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 1.25rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.service-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

.service-icon{
  width: 54px;
  height: 54px;
  margin: 0 auto .85rem auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,128,128,.10);
  border: 1px solid rgba(0,128,128,.18);
}

.service-icon i{
  font-size: 1.35rem; /* statt fs-1: weniger "laut" */
  color: rgb(0 128 128);
}

.service-title{
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: .35rem;
}

.service-text{
  color: rgba(15,23,42,.65);
  margin: 0;
  line-height: 1.45;
  font-size: .98rem;
}

section{
  padding: 4rem 0;
}

.section-head h2{
  letter-spacing: -0.02em;
}

.text-muted{
  color: var(--muted) !important;
}

/* Brand integration: keep it minimal */
.bg-primary{
  background: var(--brand) !important;
}
.nav-link, .text-primary{
  color: var(--brand) !important;
}

/* HERO */
.hero{
  min-height: 65vh;
  background-image: url('/files/tpl/img/header.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,.45) 100%
  );
}
.hero > .container{
  position: relative;
  z-index: 1;
}

.hero-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.50);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}

.hero-eyebrow{
  font-size: .9rem;
  color: rgba(31,41,55,.75);
  margin: 0;
}
.hero-title{
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.hero-subtitle{
  color: rgba(31,41,55,.75);
  margin: 0;
}

.hero-links{
  display:flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hero-link{
  display:inline-flex;
  align-items:center;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration:none;
  color: var(--text);
  background: rgba(255,255,255,.70);
  transition: transform .12s ease, background .12s ease;
}
.hero-link:hover{
  transform: translateY(-1px);
  background: #fff;
}

/* INFO CARDS */
.info-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  height: 100%;
}
.info-title{
  font-weight: 600;
  margin-bottom: .35rem;
}
.info-text{
  color: var(--muted);
  line-height: 1.45;
}

/* FEATURE CARDS */
.feature-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.feature-icon{
  font-size: 1.5rem;
  color: var(--brand);
  display:inline-flex;
  margin-bottom: .75rem;
}
.feature-title{
  font-weight: 650;
  margin-bottom: .35rem;
}
.feature-text{
  color: var(--muted);
  line-height: 1.5;
}

/* SCHEDULE */
.schedule-card{
  max-width: 560px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .5rem .75rem;
}
.schedule-row{
  display:flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .5rem;
  border-bottom: 1px solid var(--border);
}
.schedule-row:last-child{
  border-bottom: 0;
}
.schedule-row span:first-child{
  font-weight: 600;
}
.schedule-row span:last-child{
  color: var(--muted);
}

/* CHIPS */
.chip-list{
  display:flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip{
  display:inline-flex;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: .95rem;
}

/* responsive */
@media (max-width: 768px){
  .hero{
    min-height: 60vh;
  }
  .hero-card{
    margin-bottom: 1.25rem;
  }
}