/* =========================================
   KÜSTENFIX HIGH-END UI SYSTEM (REVISED V16)
   PREMIUM LOCKSMITH & FACILITY MANAGEMENT
========================================= */

/* =========================================
   ROOT VARIABLES
========================================= */
:root {
  --marine: #071b2e;
  --marine-light: #0d3357;
  --marine-soft: #123f6a;
  --dark: #04111d;

  --turquoise: #1fc8bb;
  --turquoise-dark: #15a89c;
  --turquoise-light: #39e0d2;

  /* Signalfarben für Akut- und Notdienst-Aktionen (Brandenburg-Stil) */
  --emergency-orange: #ff9f1c;
  --emergency-dark: #e67e22;
  --emergency-glow: 0 0 30px rgba(255, 159, 28, 0.35);

  --white: #ffffff;
  --text: rgba(255,255,255,0.88);
  --text-soft: rgba(255,255,255,0.68);
  --border: rgba(255,255,255,0.08);

  --radius: 18px;
  --shadow: 0 10px 35px rgba(0,0,0,0.25);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.35);
  --glow: 0 0 30px rgba(31,200,187,0.25);
  --transition: all 0.28s ease;
}

/* =========================================
   RESET & BASICS
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  /* Hochwertigere System-Schriftart für Premium-Look */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--white);
  background: linear-gradient(
    180deg,
    #0b2d4d 0%,
    #0a2744 25%,
    #082238 55%,
    #061a2b 100%
  );
  line-height: 1.7;
  overflow-x: hidden;
}

/* =========================================
   GLOBAL CONTAINER & SECTIONS
========================================= */
.container {
  width: 92%;
  max-width: 1180px;
  margin: auto;
}

.section {
  padding: 100px 0;
}

/* Kürzere Abstände für reine Info-Leisten */
.section-compact {
  padding: 40px 0;
}

/* Visueller Rhythmus-Wechsel durch leicht abgesetzten Hintergrund */
.section-accent {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Helper für Zentrierung */
.text-center {
  text-align: center;
}

/* =========================================
   TYPOGRAPHY
========================================= */
h1, h2, h3 {
  color: white;
  margin-bottom: 18px;
}

h1 {
  font-size: 62px;
  line-height: 1.1;
  font-weight: 900;
}

h2 {
  font-size: 40px;
  text-align: center;
  font-weight: 800;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

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

strong {
  color: white;
}

/* =========================================
   TOP EMERGENCY BAR
========================================= */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 99999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(90deg, var(--turquoise), var(--turquoise-dark));
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  font-weight: 800;
  color: var(--dark);
}

.top-bar div {
  display: flex;
  gap: 10px;
}

.top-bar a {
  background: rgba(0,0,0,0.16);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 800;
}

.top-bar a:hover {
  transform: translateY(-2px);
  background: rgba(0,0,0,0.28);
}

/* Hebt den Notruf in der obersten Leiste nochmals farblich ab */
.top-bar-btn-emergency {
  background: var(--dark) !important;
  color: var(--turquoise) !important;
}

/* =========================================
   STATUS BADGES
========================================= */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--turquoise-light);
}

/* =========================================
   HEADER BLOCK
========================================= */
.site-header {
  position: sticky;
  top: 58px;
  z-index: 9998;
  background: rgba(5,18,31,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: white;
}

/* KORRIGIERT: Perfekt eckiges und markantes Logo ohne Verzerrung */
.logo img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 12px;
}

.logo span {
  font-size: 36px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--turquoise);
}

/* =========================================
   BUTTON DESIGN SYSTEM
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
  color: white;
  box-shadow: 0 10px 30px rgba(31,200,187,0.28);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31,200,187,0.4);
}

/* Exklusiver, auffallender Button für den 24/7 Notdienst (Brandenburg-Prinzip) */
.btn-emergency-call {
  background: linear-gradient(135deg, var(--emergency-orange), var(--emergency-dark));
  color: white;
  box-shadow: var(--emergency-glow);
}

.btn-emergency-call:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(255,159,28,0.5);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.16);
  color: white;
}

.btn-outline:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
}

/* =========================================
   HERO / FIRST SCREEN
========================================= */
.hero {
  position: relative;
  padding: 150px 0;
  text-align: center;
  background: linear-gradient(rgba(6,26,43,0.82), rgba(6,26,43,0.92)), url("/assets/images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(31,200,187,0.18), transparent 45%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  text-shadow: 0 5px 25px rgba(0,0,0,0.45);
}

.hero h1 span {
  color: var(--turquoise);
}

.hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 20px;
  color: rgba(255,255,255,0.9);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-info {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.hero-info span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

/* =========================================
   GRID STRUCTURE
========================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* =========================================
   CARDS & CONTAINERS (UI BLOCKS)
========================================= */
.card, .box, .price-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover, .price-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Gezieltes Highlight für die Schlüsseldienst-Karte in der Leistungsübersicht */
.card-highlight-emergency {
  border: 1px solid rgba(255, 159, 28, 0.35) !important;
  background: linear-gradient(135deg, rgba(255,159,28,0.08), rgba(255,159,28,0.02)) !important;
}

.card-highlight-emergency h3 {
  color: var(--emergency-orange) !important;
}

/* =========================================
   PRICE DESIGN
========================================= */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.price-box text-align {
  text-align: center;
}

.price-box strong {
  display: block;
  margin-top: 12px;
  color: var(--turquoise);
  font-size: 34px;
  font-weight: 800;
}

/* =========================================
   AREA REGIONAL BUTTONS
========================================= */
.area-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark)) !important;
  color: white !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 35px rgba(31,200,187,0.22);
  transition: var(--transition);
}

.area-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(31,200,187,0.38);
  filter: brightness(1.05);
}

/* =========================================
   FLOATING MOBILE ACTION BAR
========================================= */
.v10-cta-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(5,18,31,0.88);
  backdrop-filter: blur(16px);
  padding: 12px;
  border-radius: 60px;
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 99999;
  box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

.v10-cta-bar a {
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
  color: white;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 30px;
  transition: var(--transition);
}

/* Macht das Anrufen in der schwebenden Bar absolut unübersehbar */
.v10-cta-bar a:first-child {
  background: linear-gradient(135deg, var(--emergency-orange), var(--emergency-dark));
}

.v10-cta-bar a:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* =========================================
   FOOTER BLOCK
========================================= */
.site-footer {
  margin-top: 80px;
  padding: 70px 0;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--turquoise);
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE ADAPTATION)
========================================= */
@media (max-width: 900px) {
  .section {
    padding: 70px 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    padding: 120px 0;
  }

  .hero p {
    font-size: 17px;
  }

  .header-inner {
    flex-direction: column;
    gap: 14px;
  }

  /* KORRIGIERT: Logo-Größe für mobile Bildschirme dezent mitskaliert */
  .logo img {
    width: 55px;
    height: 55px;
  }

  .logo span {
    font-size: 28px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 15px;
  }

  .hero-info {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .hero-info span {
    width: 80%;
    text-align: center;
  }

  .v10-cta-bar {
    width: 92%;
    justify-content: center;
    bottom: 15px;
  }

  .v10-cta-bar a {
    flex: 1;
    text-align: center;
    font-size: 14px;
    padding: 12px 10px;
  }

  .area-button {
    min-height: 80px;
    font-size: 16px;
  }
}