/* =========================================================
   René Holz Website - main.css
   Central stylesheet for static HTML pages
   ========================================================= */

/* ------------------------------
   Design Tokens
------------------------------ */

:root {
  --dark:#0f172a;
  --blue:#2563eb;
  --blue-dark:#1e3a8a;
  --light-blue:#dbeafe;
  --text:#1f2937;
  --muted:#64748b;
  --bg:#f8fafc;
  --white:#ffffff;
  --border:#e5e7eb;
  --orange:#f97316;
  --green:#16a34a;
  --red:#dc2626;
}

/* ------------------------------
   Base
------------------------------ */

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}

a {
  color:inherit;
}

img {
  max-width:100%;
  height:auto;
}

.container {
  max-width:1160px;
  margin:0 auto;
  padding:0 22px;
}

/* ------------------------------
   Header / Navigation
   Prefix: rh-
------------------------------ */

.rh-header {
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:100;
}

.rh-nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
  gap:24px;
}

.rh-logo {
  font-weight:800;
  font-size:20px;
  line-height:1.15;
  text-decoration:none;
  color:var(--dark);
}

.rh-menu {
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  align-items:center;
  font-size:15px;
}

.rh-menu a {
  text-decoration:none;
  color:var(--text);
}

.rh-menu a:hover {
  color:var(--blue);
}

.rh-menu-item {
  position:relative;
}

.rh-has-dropdown > a::after {
  content:" ▾";
  font-size:12px;
}

.rh-dropdown {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:320px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 14px 34px rgba(15,23,42,.12);
  padding:12px;
  z-index:200;
}

.rh-dropdown a {
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:var(--text);
  white-space:nowrap;
}

.rh-dropdown a:hover {
  background:#f8fafc;
  color:var(--blue);
}

.rh-has-dropdown:hover .rh-dropdown,
.rh-has-dropdown:focus-within .rh-dropdown {
  display:block;
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);
  color:#fff;
  padding:82px 0 72px;
}

.hero-grid {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:42px;
  align-items:center;
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:14px;
  font-weight:700;
  color:#93c5fd;
  margin-bottom:14px;
}

h1 {
  font-size:clamp(38px,6vw,62px);
  line-height:1.06;
  margin:0 0 24px;
  letter-spacing:-1.3px;
}

.hero p {
  font-size:21px;
  color:#e2e8f0;
  margin-bottom:22px;
  max-width:850px;
}

.hero ul {
  padding-left:22px;
  margin:24px 0 0;
  color:#e2e8f0;
  font-size:18px;
}

.hero-card {
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22);
  border-radius:20px;
  padding:30px;
  backdrop-filter:blur(8px);
}

.hero-card h2 {
  color:#fff;
  font-size:27px;
  margin-top:0;
}

.hero-card p {
  font-size:17px;
  color:#e2e8f0;
}

/* ------------------------------
   Sections / Typography
------------------------------ */

section {
  padding:72px 0;
}

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

.section-dark {
  background:var(--dark);
  color:#fff;
}

.section-dark p,
.section-dark li {
  color:#dbeafe;
}

h2 {
  font-size:clamp(30px,4vw,44px);
  line-height:1.15;
  margin:0 0 22px;
  color:var(--dark);
  letter-spacing:-.8px;
}

.section-dark h2 {
  color:#fff;
}

h3 {
  font-size:25px;
  margin:0 0 12px;
  color:var(--dark);
}

.section-dark h3 {
  color:#fff;
}

.lead {
  font-size:20px;
  color:var(--muted);
  max-width:900px;
  margin-bottom:36px;
}

.section-dark .lead {
  color:#dbeafe;
}

.small {
  font-size:15px;
  color:var(--muted);
}

/* ------------------------------
   Layout Helpers
------------------------------ */

.grid-2 {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}

.grid-3 {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:30px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.card p {
  color:var(--muted);
}

.card a {
  color:var(--blue);
  text-decoration:none;
  font-weight:700;
}

.list {
  padding-left:22px;
  font-size:18px;
}

.list li {
  margin-bottom:8px;
}

.highlight {
  background:#fff7ed;
  border-left:6px solid var(--orange);
  padding:34px;
  border-radius:16px;
  margin-top:34px;
}

.danger {
  background:#fef2f2;
  border-left:6px solid var(--red);
  padding:34px;
  border-radius:16px;
  margin-top:34px;
}

.alert {
  background:#fff7ed;
  border-left:6px solid var(--orange);
  padding:34px;
  border-radius:16px;
  margin-top:34px;
}

.process,
.steps {
  display:grid;
  gap:18px;
}

.step {
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:26px;
}

.step strong {
  display:block;
  font-size:21px;
  color:var(--dark);
  margin-bottom:8px;
}

.clients {
  font-size:19px;
  color:var(--muted);
  max-width:980px;
}

.footer-cta {
  text-align:center;
  max-width:860px;
  margin:0 auto;
}

.price {
  font-size:34px;
  font-weight:800;
  color:var(--dark);
  margin:10px 0;
}

.image-placeholder {
  aspect-ratio:1/1;
  background:#f1f5f9;
  border:2px dashed #cbd5e1;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:30px;
  color:#64748b;
  font-size:22px;
  font-weight:700;
}

.quicklinks {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:24px;
}

.quicklinks a {
  display:block;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:20px;
  text-decoration:none;
  color:var(--dark);
  font-weight:700;
}

.quicklinks a:hover {
  border-color:var(--blue);
  color:var(--blue);
}

/* ------------------------------
   Buttons
------------------------------ */

.cta-row {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:32px;
}

.btn {
  display:inline-block;
  padding:14px 22px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  border:1px solid transparent;
  margin-top:14px;
  margin-right:10px;
}

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

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

.btn-light {
  border:1px solid var(--border);
  color:var(--text);
  background:#fff;
}

.btn-dark-secondary {
  border-color:rgba(255,255,255,.45);
  color:#fff;
  background:transparent;
}

/* ------------------------------
   Contact
------------------------------ */

.contact-item {
  margin-bottom:28px;
}

.contact-item strong {
  display:block;
  font-size:18px;
  color:var(--dark);
  margin-bottom:6px;
}

.contact-item p {
  margin:0;
  color:var(--muted);
  font-size:18px;
}

.contact-item a {
  color:var(--blue);
  text-decoration:none;
  font-weight:700;
}

/* ------------------------------
   404
------------------------------ */

.error-number {
  font-size:120px;
  line-height:1;
  font-weight:900;
  opacity:.22;
  margin-bottom:10px;
}

/* ------------------------------
   Footer
------------------------------ */

.rh-footer,
footer {
  background:#020617;
  color:#cbd5e1;
  padding:32px 0;
  font-size:14px;
}

.rh-footer a,
footer a {
  color:#cbd5e1;
  text-decoration:none;
}

/* ------------------------------
   Responsive
------------------------------ */

@media(max-width:900px) {
  .rh-nav {
    flex-direction:column;
    align-items:flex-start;
  }

  .rh-menu {
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .rh-dropdown {
    position:static;
    display:block;
    box-shadow:none;
    border:none;
    padding:8px 0 0 14px;
    min-width:auto;
  }

  .rh-dropdown a {
    padding:7px 0;
    white-space:normal;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .quicklinks {
    grid-template-columns:1fr;
  }

  .hero {
    padding:60px 0;
  }

  section {
    padding:54px 0;
  }

  .error-number {
    font-size:82px;
  }

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 999;
}

.back-to-top:hover {
    background: #1e3a8a;
}
}


.breadcrumb{
 font-size:14px;
 color:#64748b;
 margin-bottom:20px;
}
.breadcrumb a{
 color:#2563eb;
 text-decoration:none;
}


.rh-logo{
 display:flex;
 align-items:center;
 gap:10px;
}
.rh-logo-img{
 width:34px;
 height:34px;
 object-fit:contain;
}

.back-to-top{
 position:fixed;
 right:25px;
 bottom:25px;
 width:50px;
 height:50px;
 border-radius:50%;
 background:#2563eb;
 color:#fff;
 text-decoration:none;
 display:flex;
 align-items:center;
 justify-content:center;
 font-size:24px;
 z-index:9999;
 box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.back-to-top:hover{
 background:#1e3a8a;
 color:#fff;
}


/* =========================================================
   Mobile Navigation Fix
   ========================================================= */

.rh-menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--dark);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media(max-width:900px) {
  .rh-nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 14px 0;
  }

  .rh-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rh-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 22px;
    right: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(15,23,42,.16);
    padding: 14px;
    z-index: 9999;
  }

  .rh-menu.is-open {
    display: flex;
  }

  .rh-menu > a,
  .rh-menu-item > a {
    width: 100%;
    display: block;
    padding: 11px 10px;
    color: var(--text);
  }

  .rh-menu-item {
    width: 100%;
  }

  .rh-dropdown {
    position: static;
    display: block;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--light-blue);
    border-radius: 0;
    padding: 4px 0 4px 12px;
    margin: 0 0 6px 0;
    background: #ffffff;
  }

  .rh-dropdown a {
    padding: 8px 10px;
    white-space: normal;
    font-size: 14px;
  }
}
