/* FiBuWERKSTATT – minimalistisches Layout (modern-clean) */

:root{
  --bg: #ffffff;
  --ink: #0b1f3a;
  --muted: rgba(11,31,58,.70);
  --line: rgba(11,31,58,.12);
  --accent: #0e7c86;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(11,31,58,.10);

  --page-max: 1040px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}

.page{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
}

.header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.brand{
  flex: 1 1 auto;
  display:flex;
  align-items:center;
}

.brand__logo{
  /*
    SVG-Logos liefern je nach Renderer teilweise keine saubere "intrinsic height".
    Deshalb steuern wir primär über die Höhe, damit das Logo auf Desktop nicht
    "verschwindet" bzw. 0px hoch gerendert wird.
  */
  height: clamp(56px, 7vw, 96px);
  width: auto;
  max-width: 620px;
  display:block;
}

.owner{
  display:flex;
  align-items:center;
  gap: 14px;
  flex: 0 0 auto;
}

.owner__photo{
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(14,124,134,.30);
  box-shadow: 0 8px 18px rgba(11,31,58,.12);
}

.owner__name{
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .2px;
}

.owner__title{
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}

.intro{
  padding: 22px 0 14px;
}

.intro__tagline{
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: .2px;
}

.intro__offer{
  margin:0;
  color: var(--muted);
  max-width: 72ch;
}

.lower{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  padding-top: 18px;
}

.section-title{
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(11,31,58,.86);
}

.refs__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ref{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11,31,58,.02);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  text-decoration:none;
  min-height: 92px;
}

.ref:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11,31,58,.12);
  border-color: rgba(14,124,134,.35);
}

.ref__logo{
  width: 100%;
  height: 64px;
  object-fit: contain;
  display:block;
  filter: saturate(1.05);
}

.refs__note{
  margin: 10px 0 0;
  color: rgba(11,31,58,.55);
  font-size: .92rem;
}

.contact__card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact__row{
  display:flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(11,31,58,.14);
}

.contact__row:last-child{
  border-bottom: none;
}

.contact__label{
  width: 88px;
  flex: 0 0 auto;
  color: rgba(11,31,58,.62);
  font-weight: 700;
  font-size: .92rem;
}

.contact__value{
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
}

a.contact__value:hover{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__row--address .contact__value{
  font-weight: 600;
  color: rgba(11,31,58,.82);
}

.footer{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: rgba(11,31,58,.60);
}

/* Responsive */
@media (max-width: 820px){
  .header{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .brand{ justify-content:center; width: 100%; }
  .owner{
    justify-content: center;
  }
  .lower{
    grid-template-columns: 1fr;
  }
  .refs__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px){
  .owner__photo{ width: 80px; height: 80px; }
  .refs__grid{ grid-template-columns: 1fr; }
}
