/* Aras Immofinanz – themed from logo */
:root{
  --bg:#ffffff;
  --bg2:#f6f7fb;
  --text:#121722;
  --muted:#566073;
  --line:#e6e8ef;

  --primary:#102030;
  --primary2:#102040;
  --accent:#c0b070;

  --card:#ffffff;
  --shadow: 0 10px 30px rgba(14, 22, 40, .08);
  --radius: 18px;
  --radius2: 14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

.container{max-width:1120px;margin:0 auto;padding:0 20px}
.container.narrow{max-width:820px}

.site-header{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(1.2) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; gap:16px; padding:12px 0}
.brand-logo{height:40px; width:auto; display:block}
.nav{margin-left:auto; display:flex; gap:14px; align-items:center}
.nav a{color:var(--text); text-decoration:none; font-weight:700; font-size:14px; opacity:.9}
.nav a:hover{opacity:1; text-decoration:underline}
.phone{margin-left:10px; color:var(--primary); text-decoration:none; font-weight:900; font-size:14px}
.phone:hover{text-decoration:underline}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(180deg, var(--primary2), var(--primary));
  color:#fff;
  border:1px solid var(--primary);
  padding:12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.05)}
.btn-sm{padding:9px 12px; font-size:13px}
.btn-ghost{
  background:#fff;
  color:var(--primary);
  border:1px solid rgba(16,32,48,.18);
}
.btn-ghost:hover{border-color:rgba(16,32,48,.32)}
.w-full{width:100%}

.hero{
  padding:48px 0 26px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 35%, var(--bg2) 100%);
  border-bottom:1px solid var(--line);
}
.hero-grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:28px; align-items:start}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  font-weight:900; font-size:13px; color:var(--primary);
  background:#fff;
  border:1px solid rgba(192,176,112,.35);
  padding:8px 12px;
  border-radius:999px;
  box-shadow: 0 2px 10px rgba(14,22,40,.04);
}
h1{margin:14px 0 10px; font-size:40px; line-height:1.1}
.lead{margin:0; font-size:17px; color:var(--muted)}
.hero-actions{margin-top:18px; display:flex; gap:12px; flex-wrap:wrap}

.hero-cards{margin-top:18px; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px}
.mini-card{
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background:#fff;
  box-shadow: 0 6px 18px rgba(14,22,40,.04);
}
.mini-title{font-weight:950; font-size:14px}
.mini-text{color:var(--muted); font-size:13px; margin-top:4px}

.hero-box{
  background:#fff;
  border:1px solid rgba(16,32,48,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.hero-box-title{font-weight:950; font-size:16px}
.hero-box-sub{color:var(--muted); margin-top:2px; font-size:13px}
.hero-box-head{margin-bottom:12px}

.field span{display:block; font-weight:800; font-size:13px; color:var(--muted); margin-bottom:6px}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  outline:none;
  background:#fff;
  color:var(--text);
  font-size:14px;
}
textarea{resize:vertical}
input:focus, select:focus, textarea:focus{border-color:rgba(192,176,112,.75); box-shadow: 0 0 0 4px rgba(192,176,112,.18)}
.grid-2{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.quick-form .grid-2{margin-bottom:10px}
.hint{margin:10px 0 0; color:var(--muted); font-size:12px}

.result-row{margin-top:12px; display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px}
.result-row-3{grid-template-columns: repeat(3, minmax(0,1fr))}
.result-row-2{grid-template-columns: repeat(2, minmax(0,1fr))}
.result{
  border:1px solid rgba(16,32,48,.10);
  border-radius: 14px;
  padding:12px 12px;
  background: linear-gradient(180deg, #fff, rgba(192,176,112,.10));
}
.result-label{font-weight:900; font-size:12px; color:var(--muted)}
.result-value{font-weight:950; font-size:18px; margin-top:4px; color:var(--primary)}

.trust{padding:18px 0 0}
.trust-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.trust-card{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 6px 18px rgba(14,22,40,.04);
}
.trust-card h3{margin:0 0 6px}
.trust-card p{margin:0; color:var(--muted)}

.section{padding:46px 0}
.section-alt{background:var(--bg2); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section-head h2{margin:0; font-size:30px}
.section-head p{margin:8px 0 0; color:var(--muted)}

.cards-4{margin-top:18px; display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:14px}
.card{
  border:1px solid var(--line);
  background:var(--card);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 6px 18px rgba(14,22,40,.04);
}
.card h3{margin:0 0 10px}
.card ul{margin:0; padding-left:18px; color:var(--muted)}
.card li{margin:6px 0}
.card-link{display:inline-block; margin-top:12px; font-weight:900; color:var(--primary); text-decoration:none}
.card-link:hover{text-decoration:underline}

.wide-card{
  margin-top:14px;
  border:1px solid rgba(192,176,112,.25);
  background:linear-gradient(180deg, #fff, rgba(192,176,112,.08));
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 6px 18px rgba(14,22,40,.04);
}
.bullets{margin-top:10px; display:flex; flex-wrap:wrap; gap:10px; color:var(--muted); font-weight:800}

.tabs{margin-top:16px; display:flex; flex-wrap:wrap; gap:10px}
.tab{
  border:1px solid rgba(16,32,48,.14);
  background:#fff;
  color:var(--primary);
  border-radius:999px;
  padding:10px 14px;
  font-weight:950;
  cursor:pointer;
}
.tab.is-active{background:var(--primary); color:#fff; border-color:var(--primary)}
.tab-panel{display:none; margin-top:16px}
.tab-panel.is-active{display:block}

.calc-grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:14px; align-items:start}
.chart-wrap{border:1px solid var(--line); border-radius: var(--radius2); padding:10px; background:#fff; margin-top:12px}
.table-card{margin-top:14px}
.table-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px}
.table-meta{color:var(--muted); font-weight:800; font-size:12px}
.table-scroll{overflow:auto; border-radius: 14px; border:1px solid var(--line)}
.table{width:100%; border-collapse:collapse; min-width:820px; background:#fff}
.table th, .table td{padding:10px 10px; border-bottom:1px solid var(--line); text-align:right; font-size:13px; white-space:nowrap}
.table th:first-child, .table td:first-child{text-align:left}
.table th{position:sticky; top:0; background:#fafbff; z-index:1; font-size:12px; letter-spacing:.02em; text-transform:uppercase; color:var(--muted)}
.table tr:hover td{background:#fafbff}

.steps{margin-top:18px; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px}
.step{border:1px solid var(--line); background:#fff; border-radius: var(--radius); padding:18px; box-shadow: 0 6px 18px rgba(14,22,40,.04)}
.step-num{width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border-radius: 10px; background:var(--primary); color:#fff; font-weight:950}
.step h3{margin:10px 0 6px}
.step p{margin:0; color:var(--muted)}

.faq details{border:1px solid var(--line); background:#fff; border-radius: var(--radius); padding:14px 16px; margin-top:12px; box-shadow: 0 6px 18px rgba(14,22,40,.04)}
.faq summary{cursor:pointer; font-weight:950}
.faq p{margin:10px 0 0; color:var(--muted)}

.contact-grid{margin-top:18px; display:grid; grid-template-columns: .9fr 1.1fr; gap:14px}
.contact-lines a{display:block; margin:8px 0; font-weight:950; color:var(--primary); text-decoration:none}
.contact-lines a:hover{text-decoration:underline}
.form .grid-2{margin-bottom:10px}
.check{display:flex; gap:10px; align-items:flex-start; margin:10px 0 0}
.check input{width:18px; height:18px; margin-top:2px}
.small{font-size:12px}
.muted{color:var(--muted)}

.mini-breakdown{margin-top:10px; border:1px dashed rgba(16,32,48,.25); background:#fff; border-radius: 14px; padding:10px 12px; color:var(--muted); font-weight:800; font-size:12px}

.footer{border-top:1px solid var(--line); background:#fff; padding:18px 0}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer-links{display:flex; gap:14px; flex-wrap:wrap}
.footer-links a{color:var(--muted); text-decoration:none; font-weight:900; font-size:13px}
.footer-links a:hover{text-decoration:underline}
.footer-brand{font-weight:950; color:var(--primary)}

.page{background:var(--bg2); min-height:100vh; padding:28px 0}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .cards-4{grid-template-columns:1fr 1fr}
  .calc-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .nav{display:none}
  .phone{margin-left:auto}
  h1{font-size:34px}
  .hero-cards{grid-template-columns:1fr}
  .result-row-3{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .grid-2{grid-template-columns:1fr}
  .cards-4{grid-template-columns:1fr}
  .container{padding:0 16px}
}

/* Honeypot field (hidden) */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}

/* --- UI tweaks: button contrast --- */
.btn{ color:#ffffff !important; text-shadow: 0 1px 0 rgba(0,0,0,.22); }
.btn:focus{ outline: none; box-shadow: 0 0 0 4px rgba(192,176,112,.25); }
.btn-ghost{ color: var(--primary) !important; text-shadow:none; }

/* --- Background polish --- */
body{
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(192,176,112,.20), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(16,32,48,.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
}
.section-alt{
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(192,176,112,.16), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(16,32,48,.08), transparent 60%),
    var(--bg2);
}
.hero{
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(192,176,112,.22), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(16,32,48,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 35%, var(--bg2) 100%);
}

/* --- Modal (Rechner Layer) --- */
.modal{ position:fixed; inset:0; display:none; z-index:1000; }
.modal.is-open{ display:block; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(16,32,48,.58); backdrop-filter: blur(3px); }
.modal-panel{
  position:relative;
  margin: 28px auto;
  max-width: 1140px;
  height: calc(100vh - 56px);
  background:#fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.25);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.modal-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(192,176,112,.20), transparent 60%),
    #fff;
}
.modal-title{ font-weight:950; color:var(--primary); }
.icon-btn{
  width:38px; height:38px;
  border-radius:12px;
  border:1px solid rgba(16,32,48,.14);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  line-height:1;
  color:var(--primary);
}
.icon-btn:hover{ background:rgba(192,176,112,.14); }
.modal-body{
  padding:16px;
  overflow:auto;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(16,32,48,.06), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(192,176,112,.12), transparent 60%),
    #fff;
}
.modal-cta{ display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.modal-cta-title{ margin:0; }
@media (max-width: 980px){
  .modal-panel{ margin: 0; height: 100vh; border-radius: 0; }
}

/* --- Cookie banner --- */
.cookie{
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1200;
}
.cookie-inner{
  max-width: 1120px;
  margin: 0 auto;
  background:#fff;
  border:1px solid rgba(16,32,48,.14);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  padding: 14px 14px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.cookie-title{ font-weight:950; color:var(--primary); }
.cookie-text{ color:var(--muted); font-weight:700; font-size:13px; max-width: 720px; }
.cookie-text a{ color:var(--primary); font-weight:900; }
.cookie-actions{ display:flex; gap:10px; align-items:center; }

/* --- Rhein-Main cards & richer tiles --- */
.rm-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}
.rm-card{
  padding:22px;
  border-radius:20px;
  color:#fff;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}
.rm-card h3{margin-top:0}
.rm-gold{
  background:linear-gradient(135deg, rgba(192,176,112,1), rgba(160,140,80,1));
  color:#1a1a1a;
}
.rm-dark{
  background:linear-gradient(135deg, #0f1e30, #1b3552);
}
.rm-light{
  background:linear-gradient(135deg, #2c4d7a, #5b7fa6);
}
.rm-text{
  margin-top:20px;
  font-weight:700;
  color:var(--muted);
}

/* enrich existing cards */
.card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
}
.cards-4 .card{
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(192,176,112,.22), transparent 60%),
    #ffffff;
  border:1px solid rgba(192,176,112,.35);
}
@media(max-width:980px){
  .rm-grid{grid-template-columns:1fr}
}

/* Sticky Rechner Button */
.sticky-rechner{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:900;
  padding:14px 18px;
  border-radius:999px;
  border:none;
  background:linear-gradient(135deg, var(--accent), var(--primary));
  color:#fff;
  font-weight:900;
  box-shadow:0 14px 35px rgba(0,0,0,.35);
  cursor:pointer;
}
.sticky-rechner:hover{ filter:brightness(1.05); }

/* WhatsApp Floating Button */
.whatsapp-btn{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:901;
  padding:14px 18px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 14px 35px rgba(0,0,0,.35);
}
.whatsapp-btn:hover{ filter:brightness(1.05); }

.brand-logo{height:56px;}@media(max-width:980px){.brand-logo{height:48px;}}

/* Zins Disclaimer */
.zins-disclaimer{
  margin-top:8px;
  font-size:12px;
  font-weight:700;
  color: var(--muted);
  line-height:1.35;
}

/* --- Logo sizing (header) --- */
.brand-logo{ height:68px !important; width:auto !important; }
@media(max-width:980px){
  .brand-logo{ height:54px !important; }
}


/* --- Watermark background (centered) --- */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image: url("../assets/logo.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 520px auto;
  opacity: 0.05;
  pointer-events:none;
  z-index:-1;
  filter: grayscale(10%);
}
@media(max-width:980px){
  body::before{
    background-size: 360px auto;
    opacity: 0.045;
  }
}

/* --- Additional logo placements --- */
.contact-logo{
  display:block;
  height:64px;
  margin:0 auto 14px;
}
.footer-brand{
  text-align:center;
  margin-bottom:12px;
}
.footer-logo{
  height:46px;
  opacity:.85;
}

/* --- Larger logo presence (override) --- */

/* Header logo already enlarged previously; keep strong presence */
.brand-logo{
  height:78px !important;
}
@media(max-width:980px){
  .brand-logo{ height:62px !important; }
}

/* Contact section logo - make it clearly visible */
.contact-logo{
  height:96px !important;
}
@media(max-width:980px){
  .contact-logo{ height:78px !important; }
}

/* Footer logo - still subtle but readable */
.footer-logo{
  height:64px !important;
}
@media(max-width:980px){
  .footer-logo{ height:54px !important; }
}

}

/* --- Final logo scaling --- */

/* Header area ~30% larger */
.header{
  padding-top:28px;
  padding-bottom:22px;
}
.brand-logo{
  height:102px !important; /* ~30% larger */
}
@media(max-width:980px){
  .brand-logo{ height:82px !important; }
}

/* Contact logo ~40% larger */
.contact-logo{
  height:175px !important;
  margin-bottom:18px;
}
@media(max-width:980px){
  .contact-logo{ height:128px !important; }
}

/* --- Contact consent --- */
.form-consent{
  margin:14px 0 18px;
}
.form-consent .checkbox{
  display:flex;
  gap:10px;
  font-size:13px;
  line-height:1.4;
  color: var(--muted);
}
.form-consent input[type="checkbox"]{
  margin-top:3px;
}

/* --- Consent layout fix --- */
.form-consent{
  grid-column: 1 / -1;
  margin: 10px 0 14px;
}
.consent-box{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
  border-radius:12px;
  background: rgba(0,0,0,0.03);
}
.consent-box span{
  font-size:13px;
  line-height:1.45;
  color:#555;
}
.consent-box input{
  margin-top:4px;
}

/* --- Consent checkbox styling (contact form) --- */
.consent-check{
  margin-top:10px;
  padding:12px 14px;
  border-radius:12px;
  background: rgba(0,0,0,0.03);
}
.consent-check span{
  display:block;
  font-size:13px;
  line-height:1.45;
}

/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
}
.cookie-banner__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
}
.cookie-banner__text{ flex:1; }
.cookie-banner__actions{ display:flex; gap:10px; flex-wrap:wrap; }
@media(max-width: 820px){
  .cookie-banner__inner{ flex-direction:column; align-items:stretch; }
  .cookie-banner__actions{ justify-content:stretch; }
  .cookie-banner__actions .btn{ width:100%; }
}

/* Anti-spam honeypot */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
}
