/* domainfriedhof.de – style.css (v1)
   Minimalistisch, schwarz/weiß, "Traueranzeige"-Anmutung
   - Keine runden Ecken
   - Boxen mit 4px Rand
   - Viel Whitespace
   - Serifen-Headlines, gut lesbarer Fließtext
*/

:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #333333;
  --border: #111111;
  --border-w: 4px;
  --max: 1080px;

  --space-1: 10px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 56px;
}

/* Basic reset */
*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
}

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

a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
a:hover{ border-bottom-width: 2px; }
a:focus-visible{
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* Layout */
.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-4) var(--space-2);
}

.site-header{
  border-bottom: var(--border-w) solid var(--border);
  padding: var(--space-3) 0;
  margin-bottom: var(--space-4);
}

.brand{
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.brand-mark{
  width: 56px;
  height: 56px;
  border: var(--border-w) solid var(--border);
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

/* If you later add a real logo image */
.brand-logo{
  width: 150px;
  height: auto;
}

.brand-name{
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.2px;
  margin: 0;
}

.brand-tagline{
  margin: 4px 0 0 0;
  color: var(--muted);
  font-size: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Navigation */
.nav{
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
}

.nav a{
  border-bottom: 0;
  padding: 6px 0;
}
.nav a:hover{
  border-bottom: 2px solid currentColor;
}

/* Hero */
.hero{
  padding: var(--space-4) 0 var(--space-3) 0;
}

.kicker{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 var(--space-2) 0;
}

.h1{
  margin: 0 0 var(--space-2) 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 700;
}

.lead{
  margin: 0;
  max-width: 70ch;
  font-size: 18px;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Box grid */
.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

@media (min-width: 860px){
  .grid{
    grid-template-columns: 1fr 1fr;
  }
}

.box{
  border: var(--border-w) solid var(--border);
  padding: var(--space-3);
  background: #fff;
}

.box h2{
  margin: 0 0 var(--space-2) 0;
  font-size: 22px;
  line-height: 1.25;
}

.box p{
  margin: 0 0 var(--space-2) 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.box p:last-child{ margin-bottom: 0; }

.list{
  margin: 0;
  padding-left: 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.list li{ margin: 6px 0; }

/* Call to action row */
.actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-2);
}

.btn{
  display: inline-block;
  border: var(--border-w) solid var(--border);
  padding: 10px 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.2px;
  background: #fff;
  border-radius: 0;
}
.btn:hover{ background: #f3f3f3; }
.btn:active{ transform: translateY(1px); }

.btn.primary{
  background: #111;
  color: #fff;
}
.btn.primary:hover{ background: #000; }

/* Footer */
.site-footer{
  margin-top: var(--space-5);
  border-top: var(--border-w) solid var(--border);
  padding: var(--space-3) 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13px;
}

.footer-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  justify-content: space-between;
}

.smalllinks{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.smalllinks a{ border-bottom: 0; }
.smalllinks a:hover{ border-bottom: 2px solid currentColor; }

hr.sep{
  border: 0;
  border-top: 1px solid #bbb;
  margin: var(--space-3) 0;
}

/* Utility */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
