/* Weber Immobilien GmbH - Website Styles */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-Variable.woff2") format("woff2");
}

:root {
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --navy: #14213d;
  --navy-light: #1f3159;
  --navy-dark: #0c1628;
  --gold: #c99a3c;
  --gold-light: #e3c988;
  --bg-light: #f7f6f3;
  --bg-white: #ffffff;
  --text-dark: #23262b;
  --text-gray: #5b6270;
  --border-light: #e7e5e0;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h1, h2, h3, h4 {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

.bg-light {
  background: var(--bg-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-label {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.logo-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 3px 0 4px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 154, 60, 0.15) 100%);
}

.logo-text-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.2s ease;
}

nav.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 130px 0 110px;
  background: linear-gradient(135deg, rgba(12, 22, 40, 0.92), rgba(20, 33, 61, 0.8)),
    url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1800&q=70")
    center/cover no-repeat;
}

.hero-inner {
  max-width: 720px;
}

.hero .section-tag {
  color: var(--gold-light);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 22px;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
}

.hero-stats div strong {
  display: block;
  font-size: 1.5rem;
  color: var(--gold-light);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Property type grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.property-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}

.card-link:hover {
  color: var(--gold);
}

.property-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.property-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-light);
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 30px 22px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.process-step .step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* Advantages / two column with image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#vorteile h2 {
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
}

.advantage-list {
  margin-top: 8px;
}

.advantage-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.advantage-list .check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-list .check svg {
  width: 16px;
  height: 16px;
  stroke: var(--navy);
}

.advantage-list h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.advantage-list p {
  font-size: 0.93rem;
}

/* Tippgeberprovision */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.tip-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 44px 34px;
  text-align: center;
}

.tip-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 14px;
}

.tip-card h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tip-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.tip-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 24px;
}

.tip-cta {
  text-align: center;
  margin-top: 24px;
}

/* Region section */
.region-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.region-tags span {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* About */
.about-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: center;
}

.avatar-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold-light);
  margin: 0 auto;
  border: 6px solid var(--gold-light);
}

.about-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.about-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: block;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 34px;
}

.contact-info-card h3 {
  color: #fff;
}

.contact-info-card .section-tag {
  color: var(--gold-light);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-item a, .contact-info-item span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

form.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-light);
}

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

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 4px;
}

.form-group.checkbox label {
  font-weight: 400;
  color: var(--text-gray);
  font-size: 0.85rem;
}

.form-group.checkbox a {
  color: var(--navy);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-msg {
  font-size: 0.85rem;
  margin-top: 10px;
  display: none;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

footer ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

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

footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom ul {
  display: flex;
  gap: 20px;
}

/* Sub-page hero (landing pages) */
.page-hero {
  position: relative;
  color: #fff;
  padding: 60px 0 70px;
  background: linear-gradient(135deg, rgba(12, 22, 40, 0.93), rgba(20, 33, 61, 0.86)),
    var(--page-hero-img, none) center/cover no-repeat;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  max-width: 780px;
  margin-bottom: 16px;
}

.page-hero p.lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  font-size: 1.05rem;
}

/* Landing page content */
.landing-content {
  max-width: 820px;
  margin: 0 auto;
}

.landing-content h2 {
  margin-top: 46px;
}

.landing-content p {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.landing-content ul {
  margin: 0 0 16px 0;
  padding-left: 4px;
}

.landing-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.landing-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}

.tag-row span {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 22px 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-item p {
  margin-bottom: 0;
}

.landing-cta {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 44px;
  margin-top: 50px;
}

.related-pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.related-pages a {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  font-weight: 700;
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-pages a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.related-pages a span {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 980px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .region-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-pages { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  nav.main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.25s ease;
  }
  nav.main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-toggle { display: block; }
  .header-phone span.phone-text { display: none; }
  .property-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; }
  .related-pages { grid-template-columns: 1fr; }
  .landing-cta { padding: 30px 22px; }
  .tip-grid { grid-template-columns: 1fr; }
}
