/* 
  Immo-Fuchs KG Stylesheet
  Modernes, schlankes Design ohne externe Frameworks.
  - CSS Variablen für konsistente Farben
  - Responsive Grid
  - Dunkler Header, helle Inhalte
*/

:root{
  --bg: #0a0a0a;
  --surface: #ffffff;
  --muted: #f4f6f8;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #324a73;
  --primary-contrast: #ffffff;
  --accent: #324a73;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 10px 20px rgba(0,0,0,0.08);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

/* Utilities */
.container{ width: min(1100px, 92%); margin: 0 auto; }
.flex{ display:flex; gap: 1rem; }
.between{ justify-content: space-between; }
.align-center{ align-items: center; }
.grid{ display:grid; gap:1.25rem; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

a{ color: var(--primary); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Header */
/* Header */
/* .site-header .topbar{
  background: linear-gradient(90deg, #0a0a0a, #1a1a1a);
  color: #fff;
  font-size: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
  */

.header-container{
  width: 100%;
  max-width: 100%;   /* nimmt volle Breite */
  margin: 0 auto;
  padding-left: 200px;   /* Abstand links */
  padding-right: 200px;  /* Abstand rechts */
}



.site-header .topbar .brand .logo {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}
/*
.site-header .topbar .brand { display:flex; align-items:center; gap:.75rem; }
*/

.logo{
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.25rem;
}
.logo span{ color: var(--accent); }
.tagline{ opacity: .8; font-size: .95rem; }
.nav{
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.nav-bar{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap:1rem;
  /* horizontalen Rand direkt hier setzen, unabhängig von .container */
  padding: 1.25rem clamp(16px, 3vw, 28px);
}

.nav-center{ display:flex; justify-content:center; align-items:center; }
.nav-right{ justify-self: end; }  /* Telefon ganz rechts */




.logo-img{
  display:block;
  height: 90px; /* größer als doppelt, da Datei Rand hat */
  width:auto;
  margin-top: -8px;   /* Rand optisch ausgleichen */
  margin-bottom: -8px;
}
@media (max-width: 900px){
  .logo-img{ height: 56px; margin:0; }
}


.menu{
  list-style:none;
  display:flex;
  gap: 1.25rem;
  margin:0;
  padding:0;
}
.menu a{
  display:inline-block;
  padding: .6rem .9rem;
  border-radius: .75rem;
  font-weight: 600;
  color: var(--text);
  text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.phone-link{
  display:inline-block;
  padding: .55rem .9rem;
  border-radius: .75rem;
  border: 1px solid var(--border);
  background:#fff;
  color: var(--accent);
  font-weight:700;
  text-decoration:none;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease;
  white-space: nowrap;
}
.phone-link:hover,
.phone-link:focus{
  background: var(--muted);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.menu a:hover,
.menu a:focus{
  background: var(--muted);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  text-decoration:none;
}
.menu a.active{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

.nav-toggle{
  display:none;
  padding:.5rem .75rem;
  border-radius:.5rem;
  border:1px solid var(--border);
  background:#fff;
}

@media (max-width: 900px){
  .nav-bar{ padding: .8rem 0; }

  .logo-img{
    display:block;
    height: 56px; /* verkleinert auf Mobile */
    width:auto;
  }

  .nav-toggle{ display:inline-flex; margin-left:auto; }
  .nav-center{ width:100%; order:3; }
  .nav-right{ justify-self:end; }

  .menu{
    display:none;
    flex-direction:column;
    gap:.5rem;
    padding: .75rem;
    border:1px solid var(--border);
    border-radius: .75rem;
    background:#fff;
    margin-top:.75rem;
  }
  .menu.open{ display:flex; }
}



/* Hero */
.hero{
  position: relative;
  background: linear-gradient(180deg, rgba(14, 29, 54, .85), rgba(14, 29, 54, .5)), url('images/hero.jpg') center/cover no-repeat;
  color:#fff;
  min-height: 47vh; /* 10% kleiner */
  display:flex;
  align-items:center;
}
.hero .content{ padding: 3.6rem 0; } /* optional proportional reduziert */

.hero h1{ font-size: clamp(2rem, 5vw, 3rem); margin:0 0 .75rem 0; }
.hero p.lead{ font-size: clamp(1rem, 2.5vw, 1.25rem); opacity:.95; max-width: 60ch; }
.btn{
  display:inline-block; border-radius: .75rem; padding:.8rem 1.1rem; border:1px solid transparent; box-shadow: var(--shadow); font-weight:600;
}
.btn-primary{ background: var(--accent); color: #ffffff; }
.btn-primary:hover{ filter: brightness(0.95); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-primary:hover{ filter: brightness(0.95); text-decoration: none; }
.btn-outline{ background:#fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover{ background: var(--muted); text-decoration: none; }

.section{ padding: 2.5rem 0; }
.section h2{ margin:0 0 1rem 0; font-size: 1.8rem; }
.section .sub{ color: var(--text-muted); margin-bottom: 1rem; }

/* Cards */
.card{
  background: #fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow);
}
.card img{ width:100%; height: 220px; object-fit: cover; display:block; }
.card .pad{ padding: 1rem; }
.price{ font-weight:800; }
.badge{ display:inline-block; font-size:.8rem; background: var(--muted); border:1px solid var(--border); border-radius: 999px; padding:.2rem .6rem; }

/* Forms */
input, select, textarea{
  width: 100%; padding:.7rem .8rem; border:1px solid var(--border); border-radius:.65rem; background:#fff;
}
label{ display:block; margin:.5rem 0 .25rem 0; font-weight:600; }
form .row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:800px){ form .row{ grid-template-columns:1fr; } }
button[type=submit]{ cursor:pointer; }

/* Footer */
.site-footer{ background:#0b1220; color:#cbd5e1; margin-top: 2rem; }
.site-footer a{ color:#cbd5e1; }
.footgrid{ grid-template-columns: 2fr 1fr 1fr; }
@media (max-width:900px){ .footgrid{ grid-template-columns:1fr; } }
.subfooter{ border-top: 1px solid rgba(255,255,255,.08); margin-top:1rem; padding:.75rem 0; }

/* Tables */
.table{ width:100%; border-collapse: collapse; }
.table th, .table td{ border-bottom:1px solid var(--border); padding:.6rem .4rem; text-align:left; }

/* Helpers */
.mt-2{ margin-top: .5rem; }
.mt-4{ margin-top: 1rem; }
.mt-8{ margin-top: 2rem; }
.center{ text-align: center; }
.hidden{ display:none; }


.logo .dot {
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 2px;
}
