/* stijl2.css */

/* Handgeschreven font: Roland Holst van der Schalk */
@font-face{
  font-family: "RolandHolstVanDerSchalk";
  src: url("RolandHolstVanDerSchalk.woff2") format("woff2"),
       url("RolandHolstVanDerSchalk.woff") format("woff");
  font-display: swap;
}

:root{
  --nos-red: #e2001a;
  --white: #ffffff;
}

*{
  box-sizing: border-box; /* Voorkomt dat padding de breedte opbreekt */
}

body{
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  background-color: var(--white);
  overflow-x: hidden; /* Harde garantie tegen horizontale scrollbalken */
}

.brand{
  margin: 0;
  width: 100%;
  padding: 24px 4vw;
  background: var(--nos-red); 
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-decoration: none;   /* Verwijdert de standaard onderstreping */
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative; /* Toegevoegd: ankerpunt voor de absolute foto */
}

/* De nieuwe foto absoluut gepositioneerd in de rechterbovenhoek */
.banner-foto-rechts {
  height: auto; /* Vult de volledige hoogte van de banner */
  width: 100%;  /* Behoudt de originele verhoudingen van de foto */
  margin: auto;
}

a{
color: var(--nos-red);
}

/* Op desktop tonen we de tekst naast elkaar, net als de echte NOS banner */
@media (min-width: 768px) {
  .brand {
    flex-direction: row;
    gap: 20px;
  }
}

.chique{
  display: inline-block;
  font-family: "RolandHolstVanDerSchalk", "Segoe Script", "Brush Script MT", cursive;
  font-weight: 900;
  font-style: normal;
  transform: scaleX(0.95); /* De lichte versmalling van de letters zelf */
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.beheer{
  display: inline-block;
  letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(16px, 3vw, 32px);
}

/* Container voor de responsive <picture> afbeelding */
.hero-container {
  display: block;
  width: 92%;
  max-width: 1200px; /* Royale breedte op desktop */
  margin: 40px auto;
}

/* De afbeelding zelf (schaalt mee binnen de container) */
.hero{
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--nos-red);
}

.text{
  max-width: 1100px; /* Brede, rustige tekstregels op desktop */
  margin: 0 auto 30px; 
  padding: 0 4vw; 
  font-size: clamp(18px, 2.2vw, 24px); /* Schalende lettergrootte */
  line-height: 1.6;
  text-align: justify;
}

a.text{
  max-width: 1100px; /* Brede, rustige tekstregels op desktop */
  margin: 0 auto 30px; 
  padding: 0 4vw; 
  font-size: clamp(18px, 2.2vw, 24px); /* Schalende lettergrootte */
  line-height: 1.6;
  text-align: justify;
}

.button-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0 60px;
}

.button-row{
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.banner-btn{
  display: inline-block;
  text-decoration: none;
  background: var(--nos-red);
  border: 2px solid var(--nos-red);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 20px;
  padding: 14px 40px;
  text-transform: lowercase; /* Past goed bij de 'hoe dan?' stijl */
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Subtiel NOS-effect bij hover: rode knop wordt wit met rode letters */
.banner-btn:hover {
  background: var(--white);
  color: var(--nos-red);
}

.banner-btn:focus{
  outline: 3px solid rgba(226,0,26,0.35);
  outline-offset: 2px;
}
